From 9c8c2f98a9f88ac674e676cc78bc845f02c63dd1 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..48fd3d9 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 == "" { c <- msg } }