libpurple/plugins/statenotify.c

changeset 36084
2172bd6dad3e
parent 35045
bb1643dab0c5
child 37148
50f361d39a1e
--- a/libpurple/plugins/statenotify.c	Thu May 22 17:10:34 2014 +0200
+++ b/libpurple/plugins/statenotify.c	Thu May 22 18:33:12 2014 +0200
@@ -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