mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 03:16:20 +00:00
Added usage of handlers to message and presence modules
This commit is contained in:
@@ -269,7 +269,8 @@ connection_free_resources(void)
|
||||
}
|
||||
|
||||
int
|
||||
connection_error_handler(xmpp_stanza_t * const stanza)
|
||||
connection_error_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
|
||||
void * const userdata)
|
||||
{
|
||||
gchar *err_msg = NULL;
|
||||
gchar *from = xmpp_stanza_get_attribute(stanza, STANZA_ATTR_FROM);
|
||||
|
||||
Reference in New Issue
Block a user