HANDLE(NULL, NULL, _chat_handler);
// ignore if type not chat or absent
char *type = xmpp_stanza_get_type(stanza);
if (!(g_strcmp0(type, "chat") == 0 || type == NULL)) {
return 1;
}
HANDLE(NULL, STANZA_TYPE_CHAT, _chat_handler);