Set deliver_imdn to false

This commit is contained in:
Benoit Martins 2024-08-22 12:12:58 +02:00
parent 4eaee9d36d
commit c821b960ed
2 changed files with 3 additions and 3 deletions

View file

@ -127,7 +127,7 @@ final class CoreContext: ObservableObject {
self.mCore.friendListSubscriptionEnabled = true
self.mCore.maxSizeForAutoDownloadIncomingFiles = 0
self.mCore.config!.setBool(section: "sip", key: "auto_answer_replacing_calls", value: false)
self.mCore.config!.setBool(section: "sip", key: "deliver_imdn", value: false)
self.mCoreSuscriptions.insert(self.mCore.publisher?.onGlobalStateChanged?.postOnCoreQueue { (cbVal: (core: Core, state: GlobalState, message: String)) in
if cbVal.state == GlobalState.On {

View file

@ -590,11 +590,11 @@ class ConversationViewModel: ObservableObject {
let attachment =
Attachment(
id: UUID().uuidString,
name: content.name!,
name: content.name ?? "???",
url: path!,
type: .image
)
attachmentNameList += ", \(content.name!)"
attachmentNameList += ", \(content.name ?? "???")"
attachmentList.append(attachment)
}
} else if content.name != nil && !content.name!.isEmpty {