Changes in protocols/bee_chat.c [5ebff60:345577b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/bee_chat.c
r5ebff60 r345577b 95 95 } 96 96 97 void imcb_chat_msg(struct groupchat *c, const char *who, char *msg, uint32_tflags, time_t sent_at)97 void imcb_chat_msg(struct groupchat *c, const char *who, char *msg, guint32 flags, time_t sent_at) 98 98 { 99 99 struct im_connection *ic = c->ic; 100 100 bee_t *bee = ic->bee; 101 101 bee_user_t *bu; 102 gboolean temp ;102 gboolean temp = FALSE; 103 103 char *s; 104 104 105 /* Gaim sends own messages through this too. IRC doesn't want this, so kill them */ 106 if (handle_is_self(ic, who)) { 105 if (handle_is_self(ic, who) && !(flags & OPT_SELFMESSAGE)) { 107 106 return; 108 107 } … … 122 121 123 122 if (bee->ui->chat_msg) { 124 bee->ui->chat_msg(bee, c, bu, msg, sent_at);123 bee->ui->chat_msg(bee, c, bu, msg, flags, sent_at); 125 124 } 126 125 … … 230 229 231 230 if (bee->ui->chat_remove_user && bu) { 232 bee->ui->chat_remove_user(bee, c, bu );231 bee->ui->chat_remove_user(bee, c, bu, reason); 233 232 } 234 233 }
Note: See TracChangeset
for help on using the changeset viewer.