This commit is contained in:
Woit 2024-12-09 19:40:05 +01:00
parent ae767456dd
commit edfc3785e9
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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