MESSENGER-5575 decide first ACL event based on state

This commit is contained in:
Frank Rotermund
2024-02-26 14:41:29 +01:00
parent 973319675e
commit d07f992659
2 changed files with 18 additions and 3 deletions
@@ -1674,7 +1674,7 @@ static NSString *const kRepliedTextPattern = @"<mx-reply>.*<blockquote>.*<br>(.*
break;
}
case MXEventTypeRoomServerACL: {
displayText = [[[FederationEventHelper alloc] init] statusInTimelineForEventWithEvent:event];
displayText = [[[FederationEventHelper alloc] init] statusInTimelineForEventWithEvent:event roomState:roomState];
break;
}
default: