libpurple/plugins/statenotify.c

branch
soc.2013.gobjectification.plugins
changeset 37148
50f361d39a1e
parent 36934
e7268aeb3b89
parent 36084
2172bd6dad3e
child 39959
e47fcffd061b
--- a/libpurple/plugins/statenotify.c	Tue May 20 10:59:21 2014 +0530
+++ b/libpurple/plugins/statenotify.c	Sat May 24 02:32:01 2014 +0530
@@ -40,9 +40,8 @@
 	g_snprintf(buf, sizeof(buf), message, escaped);
 	g_free(escaped);
 
-	purple_conversation_write_message(PURPLE_CONVERSATION(im), NULL, buf,
-			PURPLE_MESSAGE_SYSTEM | PURPLE_MESSAGE_ACTIVE_ONLY | PURPLE_MESSAGE_NO_LINKIFY,
-			time(NULL));
+	purple_conversation_write_system_message(PURPLE_CONVERSATION(im), buf,
+		PURPLE_MESSAGE_ACTIVE_ONLY | PURPLE_MESSAGE_NO_LINKIFY);
 }
 
 static void

mercurial