Fixed a compiling error
parent
069c02a76e
commit
1253d6a4fb
|
@ -192,7 +192,7 @@ export class ServerEntry extends ChannelTreeEntry<ServerEvents> {
|
|||
icon_class: "client-channel_switch",
|
||||
name: tr("Join server text channel"),
|
||||
callback: () => {
|
||||
this.channelTree.client.getChannelConversations().setSelectedConversation(0);
|
||||
this.channelTree.client.getChannelConversations().setSelectedConversation(this.channelTree.client.getChannelConversations().findOrCreateConversation(0));
|
||||
this.channelTree.client.side_bar.showChannelConversations();
|
||||
},
|
||||
visible: !settings.static_global(Settings.KEY_SWITCH_INSTANT_CHAT)
|
||||
|
|
Loading…
Reference in New Issue