wip
This commit is contained in:
parent
ae767456dd
commit
edfc3785e9
|
@ -4,7 +4,7 @@ import SwiftUI
|
||||||
@main
|
@main
|
||||||
struct AnotherIMApp: App {
|
struct AnotherIMApp: App {
|
||||||
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
|
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
|
||||||
@StateObject var wrapper = WrapperXMPP()
|
let wrapper = WrapperXMPP()
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
// DDLog.add(DDOSLogger.sharedInstance, with: .all)
|
// DDLog.add(DDOSLogger.sharedInstance, with: .all)
|
||||||
|
|
|
@ -28,7 +28,7 @@ struct Message: Identifiable {
|
||||||
init?(_ obj: MLMessage) {
|
init?(_ obj: MLMessage) {
|
||||||
guard let accId = obj.accountID as? Int, let dbId = obj.messageDBId as? Int else { return nil }
|
guard let accId = obj.accountID as? Int, let dbId = obj.messageDBId as? Int else { return nil }
|
||||||
accountId = accId
|
accountId = accId
|
||||||
participantJid = obj.participantJid
|
participantJid = obj.actualFrom
|
||||||
self.dbId = dbId
|
self.dbId = dbId
|
||||||
messageId = obj.messageId
|
messageId = obj.messageId
|
||||||
stanzaId = obj.stanzaId
|
stanzaId = obj.stanzaId
|
||||||
|
|
Loading…
Reference in a new issue