add support for reactions on VB (#7179)

This commit is contained in:
Nicolas Mauri
2023-01-06 12:14:08 +01:00
parent 0033e0e724
commit 315bed3fe6
3 changed files with 10 additions and 2 deletions
@@ -2885,6 +2885,11 @@ typedef NS_ENUM (NSUInteger, MXKRoomDataSourceError) {
return YES;
}
// Specific case for voice broadcast event
if (event.eventType == MXEventTypeCustom && [event.type isEqualToString:VoiceBroadcastSettings.voiceBroadcastInfoContentKeyType]) {
return YES;
}
BOOL isRoomMessage = (event.eventType == MXEventTypeRoomMessage);
if (!isRoomMessage) {