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:
commit
dae028f686
8 changed files with 309 additions and 41 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue