/pidgin/main: bb03db248026: Push two remaining purple_conversati...

Tomasz Wasilczyk twasilczyk at pidgin.im
Thu May 22 15:43:30 EDT 2014


Changeset: bb03db2480268d010bb885585bc09b473e39349a
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-05-22 21:43 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/bb03db248026

Description:

Push two remaining purple_conversation_write_system_message

diffstat:

 libpurple/protocols/msn/session.c     |  3 ++-
 libpurple/protocols/msn/switchboard.c |  2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff --git a/libpurple/protocols/msn/session.c b/libpurple/protocols/msn/session.c
--- a/libpurple/protocols/msn/session.c
+++ b/libpurple/protocols/msn/session.c
@@ -200,7 +200,8 @@ msn_session_report_user(MsnSession *sess
 	PurpleIMConversation * im;
 
 	if ((im = msn_session_get_im(session,passport)) != NULL){
-		purple_conversation_write(PURPLE_CONVERSATION(im), NULL, msg, flags, time(NULL));
+		purple_conversation_write_system_message(
+			PURPLE_CONVERSATION(im), msg, flags);
 	}
 }
 
diff --git a/libpurple/protocols/msn/switchboard.c b/libpurple/protocols/msn/switchboard.c
--- a/libpurple/protocols/msn/switchboard.c
+++ b/libpurple/protocols/msn/switchboard.c
@@ -374,7 +374,7 @@ msn_switchboard_report_user(MsnSwitchBoa
 
 	if ((conv = msn_switchboard_get_conv(swboard)) != NULL)
 	{
-		purple_conversation_write(conv, NULL, msg, flags, time(NULL));
+		purple_conversation_write_system_message(conv, msg, flags);
 	}
 }
 



More information about the Commits mailing list