Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/purple.c

    r3b8e4be6 rc11b68a  
    11971197}
    11981198
    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 */
    12041200static void prplcb_conv_msg(PurpleConversation *conv, const char *who, const char *message, PurpleMessageFlags flags, time_t mtime)
    12051201{
    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);
    12081204        }
    12091205}
Note: See TracChangeset for help on using the changeset viewer.