mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-25 03:58:30 +00:00
These are replies, so they need the mid
This commit is contained in:
parent
41e9a8f1f8
commit
7c89ed98e3
1 changed files with 3 additions and 1 deletions
|
@ -441,7 +441,9 @@ func HandleRemoteCommand(conn *websocket.Conn, client *ClientInfo, msg ClientMes
|
|||
if err != nil {
|
||||
client.MessageChannel <- ClientMessage{MessageID: msg.MessageID, Command: ErrorCommand, Arguments: err.Error()}
|
||||
} else {
|
||||
client.MessageChannel <- SuccessMessageFromString(resp)
|
||||
msg := SuccessMessageFromString(resp)
|
||||
msg.MessageID = msg.MessageID
|
||||
client.MessageChannel <- msg
|
||||
}
|
||||
}
|
||||
client.MsgChannelKeepalive.RUnlock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue