Mercurial > pidgin
changeset 22280:d680613669cc
Ignore the recv/send flags when the system flag is set for a message.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 12 Feb 2008 04:02:23 +0000 |
parents | 40707fbabcbc |
children | f1fa491504eb |
files | finch/gntconv.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);