From 003bea229287bc34fa801797c378249ec072497a Mon Sep 17 00:00:00 2001 From: Jonathan Wenger <jono@elixxir.io> Date: Sat, 25 Jan 2020 05:23:04 +0000 Subject: [PATCH] fixed a bug in the message reciever --- io/receive.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/io/receive.go b/io/receive.go index e7bbc8df5..ae17b8c48 100644 --- a/io/receive.go +++ b/io/receive.go @@ -82,9 +82,8 @@ func (rm *ReceptionManager) MessageReceiver(session user.Session, delay time.Dur time.Sleep(5 * time.Second) } else if !strings.Contains(err.Error(), "Could not find any message IDs for this user") { go callback(err) + return } - - return } NumMessages += len(encryptedMessages) case <-rm.rekeyChan: -- GitLab