Merge pull request #5383 from vector-im/steve/5208_text_msg_layout

Message bubbles: Text message layout
This commit is contained in:
SBiOSoftWhare
2022-01-21 16:06:57 +01:00
committed by GitHub
50 changed files with 2154 additions and 399 deletions
@@ -830,6 +830,12 @@ NSString *const URLPreviewDidUpdateNotification = @"URLPreviewDidUpdateNotificat
- (BOOL)addEvent:(MXEvent*)event andRoomState:(MXRoomState*)roomState
{
RoomTimelineConfiguration *timelineConfiguration = [RoomTimelineConfiguration shared];
if (NO == [timelineConfiguration.currentStyle canAddEvent:event and:roomState to:self]) {
return NO;
}
BOOL shouldAddEvent = YES;
switch (self.tag)