From c45111f4aba01b06cd0ac7876fe563c5b77139d5 Mon Sep 17 00:00:00 2001 From: finn Date: Tue, 15 Mar 2022 19:11:20 -0700 Subject: [PATCH] Don't push messages without an ID to the channel --- signald/signald.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signald/signald.go b/signald/signald.go index 48fd3d9..0cfd740 100644 --- a/signald/signald.go +++ b/signald/signald.go @@ -125,7 +125,7 @@ func (s *Signald) Listen(c chan client_protocol.BasicResponse) { subscribers <- msg } - if c != nil && msg.ID == "" { + if c != nil && msg.ID == "" && msg.Type != "version" { c <- msg } }