aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.h
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2014-07-20 03:28:49 -0300
committerdequis <dx@dxzone.com.ar>2015-01-25 23:43:34 -0300
commitbe1efa31e01a96be922c7addba2d9207bfbdf5fc (patch)
tree7ed979bde6284ded3cf1f1c1a7a870b2a55e9d00 /protocols/jabber/jabber.h
parent8519f457c31139750b9f7497834ac90a57196d22 (diff)
Add handle_is_self() prpl function to fix JID mismatch confusion bugs
When bee_chat needs to check for self messages, it can call this function to let the protocol implementation do the comparison. In the case of jabber, sometimes the server reports a different username after login, this one is stored in jd->internal_jid, and the one that is used for login isn't changed
Diffstat (limited to 'protocols/jabber/jabber.h')
-rw-r--r--protocols/jabber/jabber.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/jabber/jabber.h b/protocols/jabber/jabber.h
index eb99f9ca..a5882767 100644
--- a/protocols/jabber/jabber.h
+++ b/protocols/jabber/jabber.h
@@ -96,6 +96,7 @@ struct jabber_data
char *username; /* USERNAME@server */
char *server; /* username@SERVER -=> server/domain, not hostname */
char *me; /* bare jid */
+ char *internal_jid;
const struct oauth2_service *oauth2_service;
char *oauth2_access_token;