Public rooms search: In case of /publicRoom failure, do not wait for 10s before doing a new search

This commit is contained in:
manuroe
2015-12-22 18:06:09 +01:00
parent f2d847ea4d
commit 7534e6207b
@@ -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;
}];
}
}