From 33b54c8c4bdfbacb535e0f63b50095726ebc65ec Mon Sep 17 00:00:00 2001 From: Doug Date: Wed, 27 Nov 2024 09:14:10 +0000 Subject: [PATCH 1/2] Use the stable endpoint when reporting rooms. --- MatrixSDK/MXRestClient.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MatrixSDK/MXRestClient.m b/MatrixSDK/MXRestClient.m index 2691d211f..c92cc7ce5 100644 --- a/MatrixSDK/MXRestClient.m +++ b/MatrixSDK/MXRestClient.m @@ -3103,7 +3103,7 @@ -(MXHTTPOperation *)reportRoom:(NSString *)roomId success:(void (^)(void))success failure:(void (^)(NSError *))failure { - NSString *path = [NSString stringWithFormat:@"%@/org.matrix.msc4151/rooms/%@/report", kMXAPIPrefixPathUnstable, roomId]; + NSString *path = [NSString stringWithFormat:@"%@/rooms/%@/report", kMXAPIPrefixPathV3, roomId]; NSDictionary *parameters = @{ @"reason": reason.length > 0 ? reason : @"" }; From b875097babfb67e120fc98611b8b9d8e92d6b281 Mon Sep 17 00:00:00 2001 From: Doug Date: Wed, 27 Nov 2024 09:36:15 +0000 Subject: [PATCH 2/2] Bump webrick --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index d531aee81..d3dc824f1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -275,7 +275,7 @@ GEM concurrent-ruby (~> 1.0) uber (0.1.0) unicode-display_width (2.5.0) - webrick (1.8.1) + webrick (1.9.0) word_wrap (1.0.0) xcode-install (2.8.1) claide (>= 0.9.1)