Fri, 12 Jul 2013 14:09:31 +0200
MXit: Set a default chatroom name for local display if there is no Local Alias configured.
The default chatroom name is Profile Nickname, and if not available then Local Alias.
But at re-connect time the chat-room is recreated by Pidgin before we have the
profile information from the server.
| libpurple/protocols/mxit/multimx.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/mxit/multimx.c Fri Jul 12 09:20:08 2013 +0200 +++ b/libpurple/protocols/mxit/multimx.c Fri Jul 12 14:09:31 2013 +0200 @@ -644,6 +644,9 @@ else nickname = purple_account_get_alias(purple_connection_get_account(gc)); /* local alias */ + if (!nickname) + nickname = _("You"); + /* Display message in chat window */ serv_got_chat_in(gc, id, nickname, flags, message, time(NULL));