Merge branch 'master' into add_dms_and_groups

# Conflicts:
#	src/GsDChat.Client/Network/ChatClientConnection.cs
#	src/GsDChat.Client/Screens/ChatScreen.cs
#	src/GsDChat.Server/WebSockets/ChatWebSocketManager.cs
This commit is contained in:
tyuXX 2026-10-17 13:18:01 +00:00
commit dae028f686
8 changed files with 309 additions and 41 deletions

View file

@ -418,6 +418,7 @@ public class ChatClientConnection : IDisposable
{
_state.AddNotice(cmdRes.Output);
_state.SetStatus(cmdRes.Success ? "Command executed." : "Command error.", 4);
// Also add to chat as a system message for visibility
if (!string.IsNullOrEmpty(cmdRes.Output) && !string.IsNullOrEmpty(cmdRes.ChannelId))
{
_state.AddSystemMessageToChat(cmdRes.Output, cmdRes.ChannelId);