From 9738e8366dca548be4f583127a0f9e5a158b9bcd Mon Sep 17 00:00:00 2001 From: JacobTech Date: Fri, 6 Jan 2023 01:56:44 -0500 Subject: [PATCH] Friends Pannel Feature You can open a DM from the freinds pannel --- Luski/GUI/MainScreen.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Luski/GUI/MainScreen.cs b/Luski/GUI/MainScreen.cs index 38b2bcf..b8228f1 100644 --- a/Luski/GUI/MainScreen.cs +++ b/Luski/GUI/MainScreen.cs @@ -71,6 +71,11 @@ public class MainScreen : Window private Task ChannelOnClickCon(IChannelPick arg) { + if (!chat.Visible) + { + chat.Visible = true; + tc.Visible = false; + } chat!.UpdateTitle(arg); chat.Clear(); IReadOnlyList messages = arg.Channel.GetMessages(200).Result;