PeerID 23/n: ChatViewModel + its dependences (#801)

This commit is contained in:
Islam
2025-10-15 00:20:19 +02:00
committed by GitHub
parent 3479c7d5df
commit 47d75ab9d8
8 changed files with 223 additions and 261 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ final class NotificationDelegate: NSObject, UNUserNotificationCenterDelegate {
// Get peer ID from userInfo
if let peerID = userInfo["peerID"] as? String {
DispatchQueue.main.async {
self.chatViewModel?.startPrivateChat(with: peerID)
self.chatViewModel?.startPrivateChat(with: PeerID(str: peerID))
}
}
}