Skip to content

Commit

Permalink
improved misleading comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard B committed Oct 30, 2023
1 parent 512458b commit 6feb707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ func (a *Api) handleSignalReceive(ws *websocket.Conn, number string, stop chan s
}

if response.Account == number {
err = ws.WriteMessage(websocket.TextMessage, []byte(data)) //TODO split up data in different channels
err = ws.WriteMessage(websocket.TextMessage, []byte(data))
if err != nil {
if websocket.IsUnexpectedCloseError(err, websocket.CloseGoingAway, websocket.CloseAbnormalClosure) {
log.Error("Couldn't write message: " + err.Error())
Expand Down

0 comments on commit 6feb707

Please sign in to comment.