Friends Pannel Feature

You can open a DM from the freinds pannel
This commit is contained in:
JacobTech 2023-01-06 01:56:44 -05:00
parent 04ccaec3bb
commit 9738e8366d
1 changed files with 5 additions and 0 deletions

View File

@ -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<SocketMessage> messages = arg.Channel.GetMessages(200).Result;