mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
mobile, core: fix voice message reception in groups (#1524)
This commit is contained in:
committed by
GitHub
parent
0cba3a4bb3
commit
ff14730738
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user