if we fail to create a Channel tab after joining, then part the channel
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
73f2fa029d
commit
6dda84e4ff
|
@ -753,12 +753,16 @@ _window_network_channels_create(Express_Network *net)
|
|||
/* loop network channels and create */
|
||||
EINA_LIST_FOREACH(cfg_net->channels, c, cfg_chl)
|
||||
{
|
||||
if (!express_network_channel_join(net, cfg_chl->name, cfg_chl->pass))
|
||||
if (!express_network_channel_join(net, cfg_chl->name,
|
||||
cfg_chl->pass))
|
||||
continue;
|
||||
|
||||
/* try to create a channel */
|
||||
if (!(chl = _window_channel_create(cfg_chl->name, srv_name)))
|
||||
continue;
|
||||
{
|
||||
express_network_channel_part(net, cfg_chl->name);
|
||||
continue;
|
||||
}
|
||||
|
||||
/* if (i < 0) */
|
||||
/* { */
|
||||
|
|
Loading…
Reference in New Issue