don't push messages with IDs to the channel

This commit is contained in:
finn 2022-03-15 19:04:35 -07:00
parent 689d560eb1
commit 3ccb424f53

View file

@ -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
}
}