Mercurial > pidgin
diff src/protocols/irc/msgs.c @ 13876:1a862fb5e713
[gaim-migrate @ 16351]
Focus newly created IRC tabs created with /join and /query
committer: Tailor Script <tailor@pidgin.im>
| author | Ethan Blanton <elb@pidgin.im> |
|---|---|
| date | Mon, 26 Jun 2006 17:52:26 +0000 |
| parents | 3c11054a3b80 |
| children |
line wrap: on
line diff
--- a/src/protocols/irc/msgs.c Mon Jun 26 09:03:54 2006 +0000 +++ b/src/protocols/irc/msgs.c Mon Jun 26 17:52:26 2006 +0000 @@ -675,6 +675,14 @@ /* We are joining a channel for the first time */ serv_got_joined_chat(gc, id++, args[0]); g_free(nick); + convo = gaim_find_conversation_with_account(GAIM_CONV_TYPE_CHAT, + args[0], + irc->account); + if (convo == NULL) { + gaim_debug_error("irc", "tried to join %s but couldn't\n", args[0]); + return; + } + gaim_conversation_present(convo); return; }
