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

View File

@ -71,6 +71,11 @@ public class MainScreen : Window
private Task ChannelOnClickCon(IChannelPick arg) private Task ChannelOnClickCon(IChannelPick arg)
{ {
if (!chat.Visible)
{
chat.Visible = true;
tc.Visible = false;
}
chat!.UpdateTitle(arg); chat!.UpdateTitle(arg);
chat.Clear(); chat.Clear();
IReadOnlyList<SocketMessage> messages = arg.Channel.GetMessages(200).Result; IReadOnlyList<SocketMessage> messages = arg.Channel.GetMessages(200).Result;