about summary refs log tree commit diff stats
path: root/src/xmpp/connection.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-10-17 15:40:40 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-10-17 15:40:40 +0200
commit53640f6e970d9387f3da110b69cdff81b1eace88 (patch)
tree4492300de917f0959a9844e2e9a1c232a03e0e36 /src/xmpp/connection.c
parent827af999b7935c56953c8edebe7837e6015496fd (diff)
downloadprofani-tty-53640f6e970d9387f3da110b69cdff81b1eace88.tar.gz
Remove prefix from stanza id
We sent `prof_prefix_uuid` as id. Where the prefix was also optional.
We don't need this at all.
Diffstat (limited to 'src/xmpp/connection.c')
-rw-r--r--src/xmpp/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c
index 99d44b90..2d2408c5 100644
--- a/src/xmpp/connection.c
+++ b/src/xmpp/connection.c
@@ -456,7 +456,7 @@ connection_free_uuid(char *uuid)
 }
 
 char*
-connection_create_stanza_id(char *prefix)
+connection_create_stanza_id(void)
 {
     unsigned char *digest = (unsigned char*)malloc(XMPP_SHA1_DIGEST_SIZE);
     char *msgid = get_random_string(10);