Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
20444:a0d104281002 | 20445:203b45c4c8a0 |
---|---|
94 if (user->statusline != NULL && user->currentmedia != NULL) { | 94 if (user->statusline != NULL && user->currentmedia != NULL) { |
95 purple_prpl_got_user_status(account, user->passport, user->status, | 95 purple_prpl_got_user_status(account, user->passport, user->status, |
96 "message", user->statusline, | 96 "message", user->statusline, |
97 "currentmedia", user->currentmedia, NULL); | 97 "currentmedia", user->currentmedia, NULL); |
98 } else if (user->currentmedia != NULL) { | 98 } else if (user->currentmedia != NULL) { |
99 purple_prpl_got_user_status(account, user->passport, "currentmedia", | 99 purple_prpl_got_user_status(account, user->passport, user->status, "currentmedia", |
100 user->currentmedia, NULL); | 100 user->currentmedia, NULL); |
101 } else if (user->statusline != NULL) { | 101 } else if (user->statusline != NULL) { |
102 //char *status = g_strdup_printf("%s - %s", user->status, user->statusline); | 102 //char *status = g_strdup_printf("%s - %s", user->status, user->statusline); |
103 purple_prpl_got_user_status(account, user->passport, user->status, | 103 purple_prpl_got_user_status(account, user->passport, user->status, |
104 "message", user->statusline, NULL); | 104 "message", user->statusline, NULL); |