forked from Silverfish/proton-bridge
Mitigate Apple Mail re-sync (both bodies and meta info)
This commit is contained in:
@ -172,7 +172,6 @@ func (a *Accounts) showLoginError(err error, scope string) bool {
|
||||
}
|
||||
a.qml.SetConnectionStatus(true) // If we are here connection is ok.
|
||||
if err == pmapi.ErrUpgradeApplication {
|
||||
a.qml.EmitEvent(events.UpgradeApplicationEvent, "")
|
||||
return true
|
||||
}
|
||||
a.qml.SetAddAccountWarning(err.Error(), -1)
|
||||
|
||||
@ -128,7 +128,6 @@ func (s *FrontendQt) showLoginError(err error, scope string) bool {
|
||||
}
|
||||
s.Qml.SetConnectionStatus(true) // If we are here connection is ok.
|
||||
if err == pmapi.ErrUpgradeApplication {
|
||||
s.eventListener.Emit(events.UpgradeApplicationEvent, "")
|
||||
return true
|
||||
}
|
||||
s.Qml.SetAddAccountWarning(err.Error(), -1)
|
||||
|
||||
Reference in New Issue
Block a user