im.pidgin.pidgin: a0772f771a053d37ada885e7b6826abb1091ed55

sadrul at pidgin.im sadrul at pidgin.im
Mon Feb 11 23:06:11 EST 2008


-----------------------------------------------------------------
Revision: a0772f771a053d37ada885e7b6826abb1091ed55
Ancestor: ec3eb6c7eb0cf35470ad2903ec365b5a64f74a5a
Author: sadrul at pidgin.im
Date: 2008-02-12T04:02:23
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/a0772f771a053d37ada885e7b6826abb1091ed55

Modified files:
        finch/gntconv.c

ChangeLog: 

Ignore the recv/send flags when the system flag is set for a message.

-------------- next part --------------
============================================================
--- finch/gntconv.c	1c2483924f49cca7adce2cafed4028b404905c37
+++ finch/gntconv.c	19fecbca5ee43a9e46b578613e29dd95562ca247
@@ -805,6 +805,10 @@ finch_write_common(PurpleConversation *c
 
 	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);


More information about the Commits mailing list