diff --git a/protocol/messenger_mailserver.go b/protocol/messenger_mailserver.go index 4b09875a8..238dab637 100644 --- a/protocol/messenger_mailserver.go +++ b/protocol/messenger_mailserver.go @@ -396,16 +396,11 @@ func (m *Messenger) checkForMissingMessagesLoop() { t := time.NewTicker(missingMessageCheckPeriod) defer t.Stop() - mailserverAvailableSignal := m.SubscribeMailserverAvailable() - for { select { case <-m.quit: return - // Wait for mailserver available, also triggered on mailserver change - case <-mailserverAvailableSignal: - case <-t.C: }