Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee_chat.c

    r345577b r5ebff60  
    9595}
    9696
    97 void imcb_chat_msg(struct groupchat *c, const char *who, char *msg, guint32 flags, time_t sent_at)
     97void imcb_chat_msg(struct groupchat *c, const char *who, char *msg, uint32_t flags, time_t sent_at)
    9898{
    9999        struct im_connection *ic = c->ic;
    100100        bee_t *bee = ic->bee;
    101101        bee_user_t *bu;
    102         gboolean temp = FALSE;
     102        gboolean temp;
    103103        char *s;
    104104
    105         if (handle_is_self(ic, who) && !(flags & OPT_SELFMESSAGE)) {
     105        /* Gaim sends own messages through this too. IRC doesn't want this, so kill them */
     106        if (handle_is_self(ic, who)) {
    106107                return;
    107108        }
     
    121122
    122123        if (bee->ui->chat_msg) {
    123                 bee->ui->chat_msg(bee, c, bu, msg, flags, sent_at);
     124                bee->ui->chat_msg(bee, c, bu, msg, sent_at);
    124125        }
    125126
     
    229230
    230231        if (bee->ui->chat_remove_user && bu) {
    231                 bee->ui->chat_remove_user(bee, c, bu, reason);
     232                bee->ui->chat_remove_user(bee, c, bu);
    232233        }
    233234}
Note: See TracChangeset for help on using the changeset viewer.