mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 18:36:22 +00:00
upstream: feat: Display incoming reports (XEP-0377) (93918a20d)
This commit is contained in:
@@ -234,6 +234,11 @@ _iq_handler(xmpp_conn_t* const conn, xmpp_stanza_t* const stanza, void* const us
|
||||
blocked_set_handler(stanza);
|
||||
}
|
||||
|
||||
xmpp_stanza_t* reporting = xmpp_stanza_get_child_by_ns(stanza, STANZA_NS_REPORTING);
|
||||
if (reporting && (g_strcmp0(type, STANZA_TYPE_SET) == 0)) {
|
||||
reporting_set_handler(stanza);
|
||||
}
|
||||
|
||||
const char* id = xmpp_stanza_get_id(stanza);
|
||||
if (id) {
|
||||
ProfIqHandler* handler = g_hash_table_lookup(id_handlers, id);
|
||||
|
||||
Reference in New Issue
Block a user