mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-30 07:56:22 +00:00
Fixed error when losing connection and segfaulting on notify_remind()
This commit is contained in:
@@ -61,7 +61,7 @@ static void _send_room_presence(xmpp_conn_t *conn, xmpp_stanza_t *presence);
|
||||
void _send_caps_request(char *node, char *caps_key, char *id, char *from);
|
||||
|
||||
void
|
||||
presence_init(void)
|
||||
presence_sub_requests_init(void)
|
||||
{
|
||||
sub_requests_ac = autocomplete_new();
|
||||
}
|
||||
@@ -141,6 +141,12 @@ presence_free_sub_requests(void)
|
||||
autocomplete_free(sub_requests_ac);
|
||||
}
|
||||
|
||||
void
|
||||
presence_clear_sub_requests(void)
|
||||
{
|
||||
autocomplete_clear(sub_requests_ac);
|
||||
}
|
||||
|
||||
char *
|
||||
presence_sub_request_find(char * search_str)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user