@@ -63,12 +63,12 @@ }]; } - (void)fetchRoomList { - [_client asyncFetchRoomList: ^ (OFArray *rooms, - id exception) { + [_client fetchRoomListWithBlock: ^ (OFArray *rooms, + id exception) { if (exception != nil) { of_log(@"Failed to fetch room list: %@", exception); [OFApplication terminateWithStatus: 1]; } @@ -78,11 +78,11 @@ }]; } - (void)logOut { - [_client asyncLogOutWithBlock: ^ (id exception) { + [_client logOutWithBlock: ^ (id exception) { if (exception != nil) { of_log(@"Failed to log out: %@\n", exception); [OFApplication terminateWithStatus: 1]; }