mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 21:46:22 +00:00
Use stanza_get_error_message for pong errors
This commit is contained in:
@@ -968,6 +968,8 @@ stanza_get_error_message(xmpp_stanza_t *stanza)
|
||||
if (error_stanza == NULL) {
|
||||
return strdup("unknown");
|
||||
} else {
|
||||
|
||||
// check for text child
|
||||
xmpp_stanza_t *text_stanza = xmpp_stanza_get_child_by_name(error_stanza, STANZA_NAME_TEXT);
|
||||
|
||||
// check for text
|
||||
|
||||
Reference in New Issue
Block a user