mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Merge commit '2e9bb7067e9f1596f29b986729822184145906db' into feature/4068_merge_foss_1_9_15
# Conflicts: # Config/AppVersion.xcconfig # Podfile.lock # Riot/Assets/de.lproj/Localizable.strings # Riot/Modules/Room/RoomViewController.m # RiotNSE/NotificationService.swift # fastlane/Fastfile
This commit is contained in:
@@ -2881,10 +2881,21 @@ typedef NS_ENUM (NSUInteger, MXKRoomDataSourceError) {
|
||||
return NO;
|
||||
}
|
||||
|
||||
if (event.eventType == MXEventTypePollStart) {
|
||||
if (event.isTimelinePollEvent) {
|
||||
return YES;
|
||||
}
|
||||
|
||||
// Specific case for voice broadcast event
|
||||
if (event.eventType == MXEventTypeCustom &&
|
||||
[event.type isEqualToString:VoiceBroadcastSettings.voiceBroadcastInfoContentKeyType]) {
|
||||
|
||||
// Ensures that we only support reactions for a start event
|
||||
VoiceBroadcastInfo* voiceBroadcastInfo = [VoiceBroadcastInfo modelFromJSON: event.content];
|
||||
if ([VoiceBroadcastInfo isStartedFor: voiceBroadcastInfo.state]) {
|
||||
return YES;
|
||||
}
|
||||
}
|
||||
|
||||
BOOL isRoomMessage = (event.eventType == MXEventTypeRoomMessage);
|
||||
|
||||
if (!isRoomMessage) {
|
||||
|
||||
Reference in New Issue
Block a user