Skip to content

Commit

Permalink
MSC3912 implementation: stable property with_relations has been renam…
Browse files Browse the repository at this point in the history
…ed with_rel_types
  • Loading branch information
nimau committed Jun 2, 2023
1 parent 04aa5bc commit af28779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion MatrixSDK/MXRestClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
1 change: 1 addition & 0 deletions changelog.d/7563.change
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MSC3912 implementation: the stable property with_relations has been renamed with_rel_types

0 comments on commit af28779

Please sign in to comment.