diff libpurple/protocols/msn/user.c @ 20445:203b45c4c8a0

Patch media_if_no_status.diff from ticket #93 - fixes setting "currentmedia" status "message" if there is no personal status message set. Fixes #93 Note: Ticket 93 has the title "Support for MSNP14". This commit does not complete that!
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 28 May 2007 02:15:55 +0000
parents a1c6206f0205
children 18ecdee88ed0
line wrap: on
line diff
--- a/libpurple/protocols/msn/user.c	Mon May 28 01:35:47 2007 +0000
+++ b/libpurple/protocols/msn/user.c	Mon May 28 02:15:55 2007 +0000
@@ -96,7 +96,7 @@
 		                          "message", user->statusline,
 		                          "currentmedia", user->currentmedia, NULL);
 	} else if (user->currentmedia != NULL) {
-		purple_prpl_got_user_status(account, user->passport, "currentmedia",
+		purple_prpl_got_user_status(account, user->passport, user->status, "currentmedia",
 		                          user->currentmedia, NULL);
 	} else if (user->statusline != NULL) {
 		//char *status = g_strdup_printf("%s - %s", user->status, user->statusline);