mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Added generated id to invites
This commit is contained in:
parent
ae1ccc7bae
commit
7184c34d30
@ -226,6 +226,8 @@ stanza_create_invite(xmpp_ctx_t *ctx, const char * const room,
|
||||
message = xmpp_stanza_new(ctx);
|
||||
xmpp_stanza_set_name(message, STANZA_NAME_MESSAGE);
|
||||
xmpp_stanza_set_attribute(message, STANZA_ATTR_TO, contact);
|
||||
char *id = generate_unique_id(NULL);
|
||||
xmpp_stanza_set_id(message, id);
|
||||
|
||||
x = xmpp_stanza_new(ctx);
|
||||
xmpp_stanza_set_name(x, STANZA_NAME_X);
|
||||
|
Loading…
Reference in New Issue
Block a user