mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
iOS: accept images in NSE if enabled, reorder chats when coming from background (#800)
* ios: automatically accept images in NSE, if enabled in settings * remove unnecessary TODOs * reorder chat when coming from background
This commit is contained in:
committed by
GitHub
parent
4408495cfb
commit
f16d8842b2
@@ -428,7 +428,7 @@ func receiveFile(fileId: Int64) async {
|
||||
|
||||
func apiReceiveFile(fileId: Int64) async throws -> AChatItem {
|
||||
let r = await chatSendCmd(.receiveFile(fileId: fileId))
|
||||
if case .rcvFileAccepted(let chatItem) = r { return chatItem }
|
||||
if case let .rcvFileAccepted(chatItem) = r { return chatItem }
|
||||
throw r
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user