From 3d31618b5f50552b71d8c6f1b3fa733a212ee89c Mon Sep 17 00:00:00 2001 From: dequis Date: Thu, 24 Jul 2014 07:41:47 -0300 Subject: jabber: Refactor conference message handling - Improve handling of "unknown 'from'" - Try a bit harder to detect the source of the message, and fall back to messages sent from a fake temporary user. - Fix receiving topic when it was set by someone who left the room. - Add jabber_get_bare_jid() utility function --- protocols/jabber/jabber.h | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/jabber/jabber.h') diff --git a/protocols/jabber/jabber.h b/protocols/jabber/jabber.h index 8416e1a7..b8ef8b08 100644 --- a/protocols/jabber/jabber.h +++ b/protocols/jabber/jabber.h @@ -311,6 +311,7 @@ time_t jabber_get_timestamp(struct xt_node *xt); struct jabber_error *jabber_error_parse(struct xt_node *node, char *xmlns); void jabber_error_free(struct jabber_error *err); gboolean jabber_set_me(struct im_connection *ic, const char *me); +char *jabber_get_bare_jid(char *jid); extern const struct jabber_away_state jabber_away_state_list[]; -- cgit v1.2.3