mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Do not clear cache if there are no stored filters
This commit is contained in:
@@ -2073,6 +2073,11 @@ static NSArray<NSNumber*> *initialSyncSilentErrorsHTTPStatusCodes;
|
||||
mxSession.syncFilterId, syncFilter.JSONDictionary);
|
||||
completion(NO);
|
||||
}
|
||||
else if (!mxSession.store.allFilterIds.count)
|
||||
{
|
||||
MXLogDebug(@"[MXKAccount] There are no filters stored in this session, proceed as if no /sync was done before");
|
||||
completion(YES);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Check the filter is the one previously set
|
||||
|
||||
Reference in New Issue
Block a user