diff options
author | Michael Vetter <jubalh@iodoru.org> | 2018-08-14 15:49:25 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2018-08-14 15:51:18 +0200 |
commit | f4fb61b0c83b0eea20f7b60fa83bc116fd103a84 (patch) | |
tree | 1e9dd1e0edcecf377e67d5ca5a18a69aa2a108a4 /tests/unittests | |
parent | bcaf55e5b8525ea91346657520ff47f45cbbe064 (diff) | |
download | profani-tty-f4fb61b0c83b0eea20f7b60fa83bc116fd103a84.tar.gz |
Use uuid in create_unique_id instead of counter
Message IDs should be unique so they can be used by XEPs like delivery receipts, chat markers, message correction. So far it used a counter so restarting profanity will cause the counter to be 0 again. Let's rather use an UUID since we have such a function in the xmpp/xmpp.h already. Closes https://github.com/boothj5/profanity/issues/998
Diffstat (limited to 'tests/unittests')
0 files changed, 0 insertions, 0 deletions