mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 05:06:58 +02:00
67df1a3e95
Merge commit 'af0b6d4be985d9f26e5111d3fa01389c7321949f' into feature/7276_FOSS_Merge_1_27_11 # Conflicts: # Config/AppVersion.xcconfig # Gemfile.lock # IDETemplateMacros.plist # Podfile # Podfile.lock # README.md # Riot/Modules/Authentication/AuthenticationCoordinator.swift # Riot/Modules/Room/CellData/RoomBubbleCellData.m # Riot/target.yml # RiotNSE/NotificationService.swift # RiotSwiftUI/Modules/Authentication/ServerSelection/AuthenticationServerSelectionModels.swift # RiotSwiftUI/Modules/Authentication/ServerSelection/AuthenticationServerSelectionViewModel.swift # RiotSwiftUI/Modules/Authentication/ServerSelection/Coordinator/AuthenticationServerSelectionCoordinator.swift # RiotSwiftUI/Modules/Authentication/ServerSelection/View/AuthenticationServerSelectionScreen.swift # RiotSwiftUI/Modules/Room/CompletionSuggestion/Service/CompletionSuggestionService.swift # fastlane/Fastfile
191 lines
8.9 KiB
C
191 lines
8.9 KiB
C
//
|
|
// Copyright 2021-2024 New Vector Ltd.
|
|
// Copyright (c) 2021 BWI GmbH
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
// Please see LICENSE files in the repository root for full details.
|
|
//
|
|
|
|
/// RoomTimelineCellIdentifier represents room timeline cell identifiers.
|
|
typedef NS_ENUM(NSUInteger, RoomTimelineCellIdentifier) {
|
|
|
|
RoomTimelineCellIdentifierUnknown,
|
|
|
|
// - Text message
|
|
// -- Incoming
|
|
// --- Clear
|
|
RoomTimelineCellIdentifierIncomingTextMessage,
|
|
RoomTimelineCellIdentifierIncomingTextMessageWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierIncomingTextMessageWithPaginationTitle,
|
|
RoomTimelineCellIdentifierIncomingTextMessageWithoutSenderName,
|
|
RoomTimelineCellIdentifierIncomingTextMessageWithPaginationTitleWithoutSenderName,
|
|
// --- Encrypted
|
|
RoomTimelineCellIdentifierIncomingTextMessageEncrypted,
|
|
RoomTimelineCellIdentifierIncomingTextMessageEncryptedWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierIncomingTextMessageEncryptedWithPaginationTitle,
|
|
RoomTimelineCellIdentifierIncomingTextMessageEncryptedWithoutSenderName,
|
|
RoomTimelineCellIdentifierIncomingTextMessageEncryptedWithPaginationTitleWithoutSenderName,
|
|
// -- Outgoing
|
|
// --- Clear
|
|
RoomTimelineCellIdentifierOutgoingTextMessage,
|
|
RoomTimelineCellIdentifierOutgoingTextMessageWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierOutgoingTextMessageWithPaginationTitle,
|
|
RoomTimelineCellIdentifierOutgoingTextMessageWithoutSenderName,
|
|
RoomTimelineCellIdentifierOutgoingTextMessageWithPaginationTitleWithoutSenderName,
|
|
// --- Encrypted
|
|
RoomTimelineCellIdentifierOutgoingTextMessageEncrypted,
|
|
RoomTimelineCellIdentifierOutgoingTextMessageEncryptedWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierOutgoingTextMessageEncryptedWithPaginationTitle,
|
|
RoomTimelineCellIdentifierOutgoingTextMessageEncryptedWithoutSenderName,
|
|
RoomTimelineCellIdentifierOutgoingTextMessageEncryptedWithPaginationTitleWithoutSenderName,
|
|
|
|
// - Emote
|
|
// -- Incoming
|
|
// --- Clear
|
|
RoomTimelineCellIdentifierIncomingEmote,
|
|
RoomTimelineCellIdentifierIncomingEmoteWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierIncomingEmoteWithPaginationTitle,
|
|
RoomTimelineCellIdentifierIncomingEmoteWithoutSenderName,
|
|
RoomTimelineCellIdentifierIncomingEmoteWithPaginationTitleWithoutSenderName,
|
|
// --- Encrypted
|
|
RoomTimelineCellIdentifierIncomingEmoteEncrypted,
|
|
RoomTimelineCellIdentifierIncomingEmoteEncryptedWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierIncomingEmoteEncryptedWithPaginationTitle,
|
|
RoomTimelineCellIdentifierIncomingEmoteEncryptedWithoutSenderName,
|
|
RoomTimelineCellIdentifierIncomingEmoteEncryptedWithPaginationTitleWithoutSenderName,
|
|
// -- Outgoing
|
|
// --- Clear
|
|
RoomTimelineCellIdentifierOutgoingEmote,
|
|
RoomTimelineCellIdentifierOutgoingEmoteWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierOutgoingEmoteWithPaginationTitle,
|
|
RoomTimelineCellIdentifierOutgoingEmoteWithoutSenderName,
|
|
RoomTimelineCellIdentifierOutgoingEmoteWithPaginationTitleWithoutSenderName,
|
|
// --- Encrypted
|
|
RoomTimelineCellIdentifierOutgoingEmoteEncrypted,
|
|
RoomTimelineCellIdentifierOutgoingEmoteEncryptedWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierOutgoingEmoteEncryptedWithPaginationTitle,
|
|
RoomTimelineCellIdentifierOutgoingEmoteEncryptedWithoutSenderName,
|
|
RoomTimelineCellIdentifierOutgoingEmoteEncryptedWithPaginationTitleWithoutSenderName,
|
|
|
|
// - Attachment
|
|
// -- Incoming
|
|
// --- Clear
|
|
RoomTimelineCellIdentifierIncomingAttachment,
|
|
RoomTimelineCellIdentifierIncomingAttachmentWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierIncomingAttachmentWithPaginationTitle,
|
|
// --- Encrypted
|
|
RoomTimelineCellIdentifierIncomingAttachmentEncrypted,
|
|
RoomTimelineCellIdentifierIncomingAttachmentEncryptedWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierIncomingAttachmentEncryptedWithPaginationTitle,
|
|
// -- Outgoing
|
|
// --- Clear
|
|
RoomTimelineCellIdentifierOutgoingAttachment,
|
|
RoomTimelineCellIdentifierOutgoingAttachmentWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierOutgoingAttachmentWithPaginationTitle,
|
|
// --- Encrypted
|
|
RoomTimelineCellIdentifierOutgoingAttachmentEncrypted,
|
|
RoomTimelineCellIdentifierOutgoingAttachmentEncryptedWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierOutgoingAttachmentEncryptedWithPaginationTitle,
|
|
|
|
// - Attachment without thumbnail
|
|
// --- Clear
|
|
RoomTimelineCellIdentifierIncomingAttachmentWithoutThumbnail,
|
|
RoomTimelineCellIdentifierIncomingAttachmentWithoutThumbnailWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierIncomingAttachmentWithoutThumbnailWithPaginationTitle,
|
|
// --- Encrypted
|
|
RoomTimelineCellIdentifierIncomingAttachmentWithoutThumbnailEncrypted,
|
|
RoomTimelineCellIdentifierIncomingAttachmentWithoutThumbnailEncryptedWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierIncomingAttachmentWithoutThumbnailEncryptedWithPaginationTitle,
|
|
// -- Outgoing
|
|
// --- Clear
|
|
RoomTimelineCellIdentifierOutgoingAttachmentWithoutThumbnail,
|
|
RoomTimelineCellIdentifierOutgoingAttachmentWithoutThumbnailWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierOutgoingAttachmentWithoutThumbnailWithPaginationTitle,
|
|
// --- Encrypted
|
|
RoomTimelineCellIdentifierOutgoingAttachmentWithoutThumbnailEncrypted,
|
|
RoomTimelineCellIdentifierOutgoingAttachmentWithoutThumbnailEncryptedWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierOutgoingAttachmentWithoutThumbnailEncryptedWithPaginationTitle,
|
|
|
|
// - Room membership
|
|
RoomTimelineCellIdentifierMembership,
|
|
RoomTimelineCellIdentifierMembershipWithPaginationTitle,
|
|
RoomTimelineCellIdentifierMembershipCollapsed,
|
|
RoomTimelineCellIdentifierMembershipCollapsedWithPaginationTitle,
|
|
RoomTimelineCellIdentifierMembershipExpanded,
|
|
RoomTimelineCellIdentifierMembershipExpandedWithPaginationTitle,
|
|
|
|
// - Key verification
|
|
RoomTimelineCellIdentifierKeyVerificationIncomingRequestApproval,
|
|
RoomTimelineCellIdentifierKeyVerificationIncomingRequestApprovalWithPaginationTitle,
|
|
RoomTimelineCellIdentifierKeyVerificationRequestStatus,
|
|
RoomTimelineCellIdentifierKeyVerificationRequestStatusWithPaginationTitle,
|
|
RoomTimelineCellIdentifierKeyVerificationConclusion,
|
|
RoomTimelineCellIdentifierKeyVerificationConclusionWithPaginationTitle,
|
|
|
|
// - Room creation
|
|
RoomTimelineCellIdentifierRoomCreationCollapsed,
|
|
RoomTimelineCellIdentifierRoomCreationCollapsedWithPaginationTitle,
|
|
|
|
// - Call
|
|
RoomTimelineCellIdentifierDirectCallStatus,
|
|
RoomTimelineCellIdentifierGroupCallStatus,
|
|
RoomTimelineCellIdentifierMatrixRTCCall,
|
|
|
|
// - Voice message
|
|
// -- Incoming
|
|
RoomTimelineCellIdentifierIncomingVoiceMessage,
|
|
RoomTimelineCellIdentifierIncomingVoiceMessageWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierIncomingVoiceMessageWithPaginationTitle,
|
|
// -- Outgoing
|
|
RoomTimelineCellIdentifierOutgoingVoiceMessage,
|
|
RoomTimelineCellIdentifierOutgoingVoiceMessageWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierOutgoingVoiceMessageWithPaginationTitle,
|
|
|
|
// - Poll
|
|
// -- Incoming
|
|
RoomTimelineCellIdentifierIncomingPoll,
|
|
RoomTimelineCellIdentifierIncomingPollWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierIncomingPollWithPaginationTitle,
|
|
// -- Outgoing
|
|
RoomTimelineCellIdentifierOutgoingPoll,
|
|
RoomTimelineCellIdentifierOutgoingPollWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierOutgoingPollWithPaginationTitle,
|
|
|
|
// - Location sharing
|
|
// -- Incoming
|
|
RoomTimelineCellIdentifierIncomingLocation,
|
|
RoomTimelineCellIdentifierIncomingLocationWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierIncomingLocationWithPaginationTitle,
|
|
// -- Outgoing
|
|
RoomTimelineCellIdentifierOutgoingLocation,
|
|
RoomTimelineCellIdentifierOutgoingLocationWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierOutgoingLocationWithPaginationTitle,
|
|
|
|
// - Voice broadcast
|
|
// -- Incoming
|
|
RoomTimelineCellIdentifierIncomingVoiceBroadcastPlayback,
|
|
RoomTimelineCellIdentifierIncomingVoiceBroadcastPlaybackWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierIncomingVoiceBroadcastPlaybackWithPaginationTitle,
|
|
// -- Outgoing
|
|
RoomTimelineCellIdentifierOutgoingVoiceBroadcastPlayback,
|
|
RoomTimelineCellIdentifierOutgoingVoiceBroadcastPlaybackWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierOutgoingVoiceBroadcastPlaybackWithPaginationTitle,
|
|
|
|
// - Voice broadcast recorder
|
|
RoomTimelineCellIdentifierOutgoingVoiceBroadcastRecorder,
|
|
RoomTimelineCellIdentifierOutgoingVoiceBroadcastRecorderWithoutSenderInfo,
|
|
RoomTimelineCellIdentifierOutgoingVoiceBroadcastRecorderWithPaginationTitle,
|
|
|
|
// - Others
|
|
RoomTimelineCellIdentifierEmpty,
|
|
RoomTimelineCellIdentifierSelectedSticker,
|
|
RoomTimelineCellIdentifierRoomPredecessor,
|
|
RoomTimelineCellIdentifierRoomCreationIntro,
|
|
RoomTimelineCellIdentifierTyping,
|
|
|
|
// BWI Contentscanner
|
|
ContentScannerIdentiferStatus,
|
|
ContentScannerIdentifierThumbnail,
|
|
ContentScannerIdentifierUndecided
|
|
};
|