Skip to content

Commit

Permalink
fix: missing tag for provider system messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ivynya committed Dec 26, 2023
1 parent 3411c76 commit e56d2d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ func main() {
break
}

// No tag means won't be sent to any client
if req.Tag == "" {
continue
}

// Relay message to client with matching tag
err = broadcastToClient(clients, req)
if err != nil {
Expand Down

0 comments on commit e56d2d2

Please sign in to comment.