1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 02:03:13 +02:00

irc: open channel buffers before the JOIN is received from server (autojoin and manual joins) (closes #216)

New options:
- irc.look.buffer_open_before_autojoin
- irc.look.buffer_open_before_join
This commit is contained in:
Sébastien Helleu
2014-12-14 20:23:45 +01:00
parent 8d3a55c6be
commit 624083f41a
27 changed files with 628 additions and 141 deletions
+10
View File
@@ -2298,6 +2298,16 @@ irc_command_join_server (struct t_irc_server *server, const char *arguments,
pos_channel, keys[i]);
}
}
if (manual_join
&& weechat_config_boolean (irc_config_look_buffer_open_before_join))
{
/*
* open the channel buffer immediately (do not wait for the
* JOIN sent by server)
*/
irc_channel_create_buffer (
server, IRC_CHANNEL_TYPE_CHANNEL, pos_channel, 1, 1);
}
}
if (pos_space)
strcat (new_args, pos_space);