mobile, core: fix voice message reception in groups (#1524)

This commit is contained in:
Evgeny Poberezkin
2022-12-07 22:18:22 +00:00
committed by GitHub
parent 0cba3a4bb3
commit ff14730738
4 changed files with 25 additions and 20 deletions
+7
View File
@@ -1806,6 +1806,13 @@ public enum MsgContent {
}
}
public var isImage: Bool {
switch self {
case .image: return true
default: return false
}
}
var cmdString: String {
switch self {
case let .text(text): return "text \(text)"