im.pidgin.pidgin: 4c527b505ec56d3687d0bd24be1d28eb849a0394
sadrul at pidgin.im
sadrul at pidgin.im
Sun Dec 9 05:10:38 EST 2007
-----------------------------------------------------------------
Revision: 4c527b505ec56d3687d0bd24be1d28eb849a0394
Ancestor: b89651a1e1469c30b3fa9689b5df87c381ac829b
Author: sadrul at pidgin.im
Date: 2007-12-09T10:08:40
Branch: im.pidgin.pidgin
Modified files:
libpurple/protocols/yahoo/yahoo.c
ChangeLog:
We need to use the actual username for attentions, instead of alias. This should fix the 'new im for buzz' bug on yahoo.
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c 43dd9b22de8a4100075fa829af9a40cb697df645
+++ libpurple/protocols/yahoo/yahoo.c 7d6acdda737d9d9ce2ed0645e2ec295427be64a3
@@ -899,7 +899,6 @@ static void yahoo_process_message(Purple
purple_util_chrreplace(m, '\r', '\n');
if (!strcmp(m, "<ding>")) {
- PurpleBuddy *buddy;
PurpleAccount *account;
PurpleConversation *c;
char *username;
@@ -909,13 +908,8 @@ static void yahoo_process_message(Purple
if (c == NULL)
c = purple_conversation_new(PURPLE_CONV_TYPE_IM, account, im->from);
- if ((buddy = purple_find_buddy(account, im->from)) != NULL)
- username = g_markup_escape_text(purple_buddy_get_alias(buddy), -1);
- else
- username = g_markup_escape_text(im->from, -1);
-
+ username = g_markup_escape_text(im->from, -1);
serv_got_attention(gc, username, YAHOO_BUZZ);
-
g_free(username);
g_free(m);
g_free(im);
More information about the Commits
mailing list