diff options
| author | dequis <dx@dxzone.com.ar> | 2014-07-20 03:28:49 -0300 | 
|---|---|---|
| committer | dequis <dx@dxzone.com.ar> | 2015-01-25 23:43:34 -0300 | 
| commit | be1efa31e01a96be922c7addba2d9207bfbdf5fc (patch) | |
| tree | 7ed979bde6284ded3cf1f1c1a7a870b2a55e9d00 /protocols/jabber/iq.c | |
| parent | 8519f457c31139750b9f7497834ac90a57196d22 (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/iq.c')
| -rw-r--r-- | protocols/jabber/iq.c | 4 | 
1 files changed, 0 insertions, 4 deletions
| diff --git a/protocols/jabber/iq.c b/protocols/jabber/iq.c index 61417bcc..cf1ff298 100644 --- a/protocols/jabber/iq.c +++ b/protocols/jabber/iq.c @@ -357,10 +357,6 @@ xt_status jabber_pkt_bind_sess( struct im_connection *ic, struct xt_node *node,  			if( s )  				*s = '\0';  			jabber_set_me( ic, c->text ); -			imcb_log( ic, "Server claims your JID is `%s' instead of `%s'. " -			          "This mismatch may cause problems with groupchats " -			          "and possibly other things.", -			          c->text, ic->acc->user );  			if( s )  				*s = '/';  		} | 
