Mercurial > pidgin.yaz
changeset 13559:bbbde2f5c03b
[gaim-migrate @ 15938]
This finally bothered me enough to fix. We were only rebuilding the Join a Chat
dialog entries when the protocol of the selected account changed. That
didn't work so well for jabber since jabber uses different nickname/server
values based on which server you choose.
I considered testing for jabber specifically instead of always but that seemed
uglier and this really won't hurt us much.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Fri, 24 Mar 2006 16:04:59 +0000 |
parents | a0969be53e17 |
children | 1e433894ce0c |
files | src/gtkblist.c |
diffstat | 1 files changed, 3 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkblist.c Fri Mar 24 02:48:28 2006 +0000 +++ b/src/gtkblist.c Fri Mar 24 16:04:59 2006 +0000 @@ -613,18 +613,10 @@ static void joinchat_select_account_cb(GObject *w, GaimAccount *account, - GaimGtkJoinChatData *data) + GaimGtkJoinChatData *data) { - if (strcmp(gaim_account_get_protocol_id(data->account), - gaim_account_get_protocol_id(account)) == 0) - { - data->account = account; - } - else - { - data->account = account; - rebuild_joinchat_entries(data); - } + data->account = account; + rebuild_joinchat_entries(data); } static gboolean