From 7b8d0c8eb7316280819edce08670c678ed29a773 Mon Sep 17 00:00:00 2001 From: JacobTech Date: Mon, 18 Nov 2024 20:19:59 -0500 Subject: [PATCH] remove default file --- Luski/GUI/MainScreen/UI/PublicServers/ChatMessage.cs | 1 - Luski/GUI/MainScreen/UI/PublicServers/PublicChat.cs | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Luski/GUI/MainScreen/UI/PublicServers/ChatMessage.cs b/Luski/GUI/MainScreen/UI/PublicServers/ChatMessage.cs index ae3170f..422695b 100644 --- a/Luski/GUI/MainScreen/UI/PublicServers/ChatMessage.cs +++ b/Luski/GUI/MainScreen/UI/PublicServers/ChatMessage.cs @@ -71,7 +71,6 @@ public class ChatMessage : UserControl { if (time.Date == DateTime.Now.ToLocalTime().Date) { - Console.WriteLine(time); time_str = $"Today at {time:h:mm tt}"; } else if (time.Date == DateTime.Now.ToLocalTime().AddDays(-1).Date) diff --git a/Luski/GUI/MainScreen/UI/PublicServers/PublicChat.cs b/Luski/GUI/MainScreen/UI/PublicServers/PublicChat.cs index 865d5d0..2f1f7fc 100644 --- a/Luski/GUI/MainScreen/UI/PublicServers/PublicChat.cs +++ b/Luski/GUI/MainScreen/UI/PublicServers/PublicChat.cs @@ -185,9 +185,8 @@ public class PublicChat : UserControl { if (arg.Key == Keys.Enter && !arg.Shift) { - var file = await Channel!.Server.UploadFile("/home/jacob/Pictures/Points.png"); - Console.WriteLine(file.ID); - await Channel!.SendMessage(tb.Text, Profile: Globals.ServerProfile, files: file); + //SocketFile file = await Channel!.Server.UploadFile("/home/jacob/Pictures/Points.png"); + await Channel!.SendMessage(tb.Text, Profile: Globals.ServerProfile, files: Array.Empty()); tb.Text = string.Empty; tb.CursorLocation = 0; }