From 3ccb424f53061658112c2735ff104352bf20a283 Mon Sep 17 00:00:00 2001 From: finn Date: Tue, 15 Mar 2022 19:04:35 -0700 Subject: [PATCH] don't push messages with IDs 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 5a0f9d8..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 { + if c != nil && msg.ID == "" && msg.Type != "version" { c <- msg } }