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