wip
This commit is contained in:
parent
09d3a6e606
commit
edf1b8782c
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue