From ea46779e98708616201728e422253564809043dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rich=CE=9Brd?= Date: Thu, 19 Jan 2023 07:04:18 -0400 Subject: [PATCH] Update messenger_mailserver_cycle.go --- protocol/messenger_mailserver_cycle.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocol/messenger_mailserver_cycle.go b/protocol/messenger_mailserver_cycle.go index 587e14b89..2c6e35aea 100644 --- a/protocol/messenger_mailserver_cycle.go +++ b/protocol/messenger_mailserver_cycle.go @@ -482,7 +482,8 @@ func (m *Messenger) handleMailserverCycleEvent(connectedPeers []ConnectedPeer) e m.mailPeersMutex.Unlock() // Only evaluate connected peers once a mailserver has been set - // otherwise + // otherwise, we would attempt to retrieve history and end up with a mailserver + // not available error if m.mailserverCycle.activeMailserver != nil { for _, connectedPeer := range connectedPeers { id, err := m.mailserverAddressToID(connectedPeer.UniqueID)