Changeset be1efa3 for protocols/nogaim.h


Ignore:
Timestamp:
2015-01-26T02:43:34Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
fcb2c2e
Parents:
8519f45
git-author:
dequis <dx@…> (20-07-14 06:28:49)
git-committer:
dequis <dx@…> (26-01-15 02:43:34)
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.h

    r8519f45 rbe1efa3  
    263263        void *(* buddy_action) (struct bee_user *bu, const char *action, char * const args[], void *data);
    264264       
     265        /* If null, equivalent to handle_cmp( ic->acc->user, who ) */
     266        gboolean (* handle_is_self) (struct im_connection *, const char *who);
     267
    265268        /* Some placeholders so eventually older plugins may cooperate with newer BitlBees. */
    266269        void *resv1;
Note: See TracChangeset for help on using the changeset viewer.