Merge branch 'stable'

This commit is contained in:
Evgeny Poberezkin
2022-11-22 08:55:01 +00:00
7 changed files with 51 additions and 51 deletions
+2 -2
View File
@@ -1042,9 +1042,9 @@ func processReceivedMsg(_ res: ChatResponse) async {
case let .sndFileComplete(aChatItem, _):
chatItemSimpleUpdate(aChatItem)
let cItem = aChatItem.chatItem
let mc = cItem.content.msgContent
if aChatItem.chatInfo.chatType == .direct,
let mc = cItem.content.msgContent,
mc.isFile(),
case .file = mc,
let fileName = cItem.file?.filePath {
removeFile(fileName)
}