Mercurial > pidgin.yaz
changeset 19926:0c83ec8cf17c
merge of 'bda49fb76ee1731eebada61327489c4d42d07e66'
and 'c5468fb873563f4e1249323a03f5531e192965f3'
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Wed, 12 Sep 2007 01:13:55 +0000 |
parents | a25604fbfa92 (current diff) 39d620a93907 (diff) |
children | dc25fa0ffe9a |
files | libpurple/protocols/myspace/myspace.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c Wed Sep 12 00:30:19 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.c Wed Sep 12 01:13:55 2007 +0000 @@ -1527,9 +1527,8 @@ * address and not username. Will be freed in msim_session_destroy(). */ session->username = msim_msg_get_string(msg, "uniquenick"); - /* If a local alias wasn't set, set it to user's username. */ - if (!session->account->alias || !strlen(session->account->alias)) - purple_account_set_alias(session->account, session->username); + /* Set display name to username (otherwise will show email address) */ + purple_connection_set_display_name(session->gc, session->username); /* The session is now set up, ready to be connected. This emits the * signedOn signal, so clients can now do anything with msimprpl, and