# HG changeset patch # User Sadrul Habib Chowdhury # Date 1202788943 0 # Node ID d680613669cc451c7f82795963dcd8065e9d2f59 # Parent 40707fbabcbcb2b42c793762a0a681f74f4edce3 Ignore the recv/send flags when the system flag is set for a message. diff -r 40707fbabcbc -r d680613669cc finch/gntconv.c --- a/finch/gntconv.c Tue Feb 12 03:58:58 2008 +0000 +++ b/finch/gntconv.c Tue Feb 12 04:02:23 2008 +0000 @@ -805,6 +805,10 @@ g_return_if_fail(ggconv != NULL); + if (flags & PURPLE_MESSAGE_SYSTEM) { + flags &= ~(PURPLE_MESSAGE_SEND | PURPLE_MESSAGE_RECV); + } + if (ggconv->active_conv != conv) { if (flags & (PURPLE_MESSAGE_SEND | PURPLE_MESSAGE_RECV)) finch_conversation_set_active(conv);