Fri, 24 Mar 2006 16:04:59 +0000
[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.
| src/gtkblist.c | file | annotate | diff | comparison | revisions |
--- 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