From 391892bd647ab2466982cdf53a12e6138eaaafcd Mon Sep 17 00:00:00 2001 From: Avently <7953703+avently@users.noreply.github.com> Date: Tue, 14 Nov 2023 01:15:51 +0700 Subject: [PATCH] ui: chatitem header --- apps/ios/SimpleXChat/ChatTypes.swift | 1 + .../src/commonMain/kotlin/chat/simplex/common/model/ChatModel.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/ios/SimpleXChat/ChatTypes.swift b/apps/ios/SimpleXChat/ChatTypes.swift index f8a6d78a53..e69e3d01ec 100644 --- a/apps/ios/SimpleXChat/ChatTypes.swift +++ b/apps/ios/SimpleXChat/ChatTypes.swift @@ -2665,6 +2665,7 @@ public enum CIContent: Decodable, ItemContent { case .rcvDecryptionError: return true case .rcvGroupInvitation: return true case .rcvModerated: return true + case .sndModerated: return true case .invalidJSON: return true default: return false } diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/model/ChatModel.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/model/ChatModel.kt index 91b4a8d8f6..2eb02fc9c3 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/model/ChatModel.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/model/ChatModel.kt @@ -2078,6 +2078,7 @@ sealed class CIContent: ItemContent { is RcvDecryptionError -> true is RcvGroupInvitation -> true is RcvModerated -> true + is SndModerated -> true is InvalidJSON -> true else -> false }