Skip to content
Snippets Groups Projects
Commit 003bea22 authored by Jono Wenger's avatar Jono Wenger
Browse files

fixed a bug in the message reciever

parent b4a70e9d
Branches
Tags
No related merge requests found
......@@ -82,10 +82,9 @@ 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
}
}
NumMessages += len(encryptedMessages)
case <-rm.rekeyChan:
encryptedMessages = session.PopGarbledMessages()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment