Mercurial > pidgin
changeset 20267:de8dd5a54e85
applied changes from f7687aed5d4c60018282a0629b67556f506ceb54
through a5dd91b5d76972cf72a56209503c7e32d71c6e3c
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 28 Sep 2007 19:23:52 +0000 |
parents | 014cc99647c0 |
children | a14208697dcd |
files | libpurple/protocols/msn/switchboard.c |
diffstat | 1 files changed, 1 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.c Fri Sep 28 18:21:40 2007 +0000 +++ b/libpurple/protocols/msn/switchboard.c Fri Sep 28 19:23:52 2007 +0000 @@ -947,25 +947,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); } /**************************************************************************