Index: src/MTXClient.m ================================================================== --- src/MTXClient.m +++ src/MTXClient.m @@ -418,11 +418,11 @@ objc_autoreleasePoolPop(pool); } - (void)sendMessage: (OFString *)message roomID: (OFString *)roomID - block: (MTXClientResponseBlock)block; + block: (MTXClientResponseBlock)block { void *pool = objc_autoreleasePoolPush(); OFString *path = [OFString stringWithFormat: @"/_matrix/client/r0/rooms/%@/send/m.room.message", roomID]; MTXRequest *request = [self requestWithPath: path]; Index: tests/Tests.m ================================================================== --- tests/Tests.m +++ tests/Tests.m @@ -35,11 +35,12 @@ OFString *_roomID; } - (void)applicationDidFinishLaunching: (OFNotification *)notification { - __auto_type environment = OFApplication.environment; + OFDictionary *environment = + OFApplication.environment; if (environment[@"OBJMATRIX_USER"] == nil || environment[@"OBJMATRIX_PASS"] == nil || environment[@"OBJMATRIX_HS"] == nil) { [OFStdErr writeString: @"Please set OBJMATRIX_USER, " @"OBJMATRIX_PASS and OBJMATRIX_HS in "