Get rid of async prefix

All operations are async anyway.

FossilOrigin-Name: d18fbd29fb7caa8dc87cc31caee4f2b6e94b498032bae3bbce2b7c2510bc3575
This commit is contained in:
Jonathan Schleifer 2020-10-03 17:23:45 +00:00
parent c4a1bd7932
commit 1985cb9b46
5 changed files with 15 additions and 15 deletions

View file

@ -65,8 +65,8 @@ OF_APPLICATION_DELEGATE(Tests)
- (void)fetchRoomList
{
[_client asyncFetchRoomList: ^ (OFArray<OFString *> *rooms,
id exception) {
[_client fetchRoomListWithBlock: ^ (OFArray<OFString *> *rooms,
id exception) {
if (exception != nil) {
of_log(@"Failed to fetch room list: %@", exception);
[OFApplication terminateWithStatus: 1];
@ -80,7 +80,7 @@ OF_APPLICATION_DELEGATE(Tests)
- (void)logOut
{
[_client asyncLogOutWithBlock: ^ (id exception) {
[_client logOutWithBlock: ^ (id exception) {
if (exception != nil) {
of_log(@"Failed to log out: %@\n", exception);
[OFApplication terminateWithStatus: 1];