Changeset 345577b for protocols/bee_chat.c
- Timestamp:
- 2015-10-30T10:27:20Z (9 years ago)
- Branches:
- master
- Children:
- fb2338d
- Parents:
- 0db6618
- git-author:
- dequis <dx@…> (13-09-15 04:17:14)
- git-committer:
- dequis <dx@…> (30-10-15 10:27:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/bee_chat.c
r0db6618 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
Note: See TracChangeset
for help on using the changeset viewer.