Mercurial > pidgin.yaz
diff libpurple/protocols/msn/switchboard.c @ 27728:b8d98bc09656
propagate from branch 'im.pidgin.pidgin' (head 45b8a011cd84e0e69d7ac5a6fb84f55cdb0809cb)
to branch 'im.pidgin.pidgin.yaz' (head 13a41ae84ed6f01e6f56d570c07fd04f3b02e781)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 02 Oct 2007 17:49:49 +0000 |
parents | 26f55eb6ab59 d35d761ded1a |
children | 73ef026191e7 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.c Fri Sep 28 04:03:27 2007 +0000 +++ b/libpurple/protocols/msn/switchboard.c Tue Oct 02 17:49:49 2007 +0000 @@ -962,25 +962,14 @@ nudge_msg(MsnCmdProc *cmdproc, MsnMessage *msg) { MsnSwitchBoard *swboard; - char *username, *str; PurpleAccount *account; - PurpleBuddy *buddy; const char *user; - str = NULL; - swboard = cmdproc->data; account = cmdproc->session->account; user = msg->remote_user; - if ((buddy = purple_find_buddy(account, user)) != NULL) - username = g_markup_escape_text(purple_buddy_get_alias(buddy), -1); - else - username = g_markup_escape_text(user, -1); - - serv_got_attention(account->gc, buddy->name, MSN_NUDGE); - g_free(username); - g_free(str); + serv_got_attention(account->gc, user, MSN_NUDGE); } /**************************************************************************