mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Remove from outstanding requests on /sub
This commit is contained in:
parent
ce0e96edf5
commit
b7a7be37e9
@ -260,6 +260,7 @@ jabber_subscription(const char * const jid, jabber_subscr_t action)
|
||||
// jid must be a bare JID
|
||||
jid_cpy = strdup(jid);
|
||||
bare_jid = strtok(jid_cpy, "/");
|
||||
g_hash_table_remove(sub_requests, bare_jid);
|
||||
|
||||
if (action == PRESENCE_SUBSCRIBE)
|
||||
type = STANZA_TYPE_SUBSCRIBE;
|
||||
|
Loading…
Reference in New Issue
Block a user