Changes in protocols/purple/purple.c [3b8e4be6:c11b68a]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/purple/purple.c
r3b8e4be6 rc11b68a 1197 1197 } 1198 1198 1199 /* Handles write_im and write_chat. Removes echoes of locally sent messages. 1200 * 1201 * PURPLE_MESSAGE_DELAYED is used for chat backlogs - if a message has both 1202 * that flag and _SEND, it's a self-message from before joining the channel. 1203 * Those are safe to display. The rest (with just _SEND) may be echoes. */ 1199 /* Handles write_im and write_chat. Removes echoes of locally sent messages */ 1204 1200 static void prplcb_conv_msg(PurpleConversation *conv, const char *who, const char *message, PurpleMessageFlags flags, time_t mtime) 1205 1201 { 1206 if ( (!(flags & PURPLE_MESSAGE_SEND)) || (flags & PURPLE_MESSAGE_DELAYED)) {1207 handle_conv_msg(conv, who, message, (flags & PURPLE_MESSAGE_SEND) ? OPT_SELFMESSAGE :0, mtime);1202 if (!(flags & PURPLE_MESSAGE_SEND)) { 1203 handle_conv_msg(conv, who, message, 0, mtime); 1208 1204 } 1209 1205 }
Note: See TracChangeset
for help on using the changeset viewer.