diff --git a/ConversationsClassic/AppData/Store/AttachmentsStore.swift b/ConversationsClassic/AppData/Store/AttachmentsStore.swift index 20233c3..1a124e9 100644 --- a/ConversationsClassic/AppData/Store/AttachmentsStore.swift +++ b/ConversationsClassic/AppData/Store/AttachmentsStore.swift @@ -62,6 +62,7 @@ extension AttachmentsStore { var message = Message.blank message.from = roster.bareJid message.to = roster.contactBareJid + message.secure = true switch item.type { case .photo: @@ -110,6 +111,7 @@ extension AttachmentsStore { var message = Message.blank message.from = roster.bareJid message.to = roster.contactBareJid + message.secure = true let localName: String let msgType: AttachmentType @@ -175,6 +177,7 @@ extension AttachmentsStore { var message = Message.blank message.from = roster.bareJid message.to = roster.contactBareJid + message.secure = true message.contentType = .attachment( Attachment( type: localName.attachmentType, diff --git a/ConversationsClassic/View/Entering/LoginScreen.swift b/ConversationsClassic/View/Entering/LoginScreen.swift index 596bd1c..90c2321 100644 --- a/ConversationsClassic/View/Entering/LoginScreen.swift +++ b/ConversationsClassic/View/Entering/LoginScreen.swift @@ -14,8 +14,10 @@ struct LoginScreen: View { @FocusState private var focus: Field? #if DEBUG - @State private var jidStr: String = "nartest1@conversations.im" - @State private var pass: String = "nartest12345" + @State private var jidStr: String = "omemotest1@test.anal.company" + @State private var pass: String = "12345" + // @State private var jidStr: String = "nartest1@conversations.im" + // @State private var pass: String = "nartest12345" // @State private var jidStr: String = "test1@test.anal.company" // @State private var pass: String = "12345" #else