don't push messages with IDs to the channel
This commit is contained in:
parent
689d560eb1
commit
3ccb424f53
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ func (s *Signald) Listen(c chan client_protocol.BasicResponse) {
|
|||
subscribers <- msg
|
||||
}
|
||||
|
||||
if c != nil {
|
||||
if c != nil && msg.ID == "" && msg.Type != "version" {
|
||||
c <- msg
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue