mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-27 22:34:51 +00: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:
@@ -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