mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 05:36:57 +02:00
Public rooms search: In case of /publicRoom failure, do not wait for 10s before doing a new search
This commit is contained in:
@@ -129,6 +129,9 @@ double const kPublicRoomsDirectoryDataExpiration = 10;
|
||||
NSLog(@"[PublicRoomsDirectoryDataSource] Failed to fecth public rooms. Error: %@", error);
|
||||
|
||||
[self setState:MXKDataSourceStateFailed];
|
||||
|
||||
// Reset the refresh date so that the user can retry the request by changing the search text input content
|
||||
lastRefreshDate = nil;
|
||||
}];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user