From af287795d6e523a00214150c6e5f44cb9b892c6c Mon Sep 17 00:00:00 2001 From: Nicolas Mauri Date: Fri, 2 Jun 2023 09:02:35 +0200 Subject: [PATCH] MSC3912 implementation: stable property with_relations has been renamed with_rel_types --- MatrixSDK/MXRestClient.m | 2 +- changelog.d/7563.change | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/7563.change diff --git a/MatrixSDK/MXRestClient.m b/MatrixSDK/MXRestClient.m index 6a9c92971c..38f38c3a07 100644 --- a/MatrixSDK/MXRestClient.m +++ b/MatrixSDK/MXRestClient.m @@ -3077,7 +3077,7 @@ - (MXHTTPOperation*)redactEvent:(NSString*)eventId if (relations && [relations count] > 0) { - NSString* property = withRelationsIsStable ? @"with_relations" : @"org.matrix.msc3912.with_relations"; + NSString* property = withRelationsIsStable ? @"with_rel_types" : @"org.matrix.msc3912.with_relations"; parameters[property] = relations; } diff --git a/changelog.d/7563.change b/changelog.d/7563.change new file mode 100644 index 0000000000..bf18b5af8a --- /dev/null +++ b/changelog.d/7563.change @@ -0,0 +1 @@ +MSC3912 implementation: the stable property with_relations has been renamed with_rel_types