Navigate to thread from notification

This commit is contained in:
ismailgulek
2022-03-08 12:58:13 +03:00
parent 24de57bb58
commit 26b8afeace
4 changed files with 32 additions and 11 deletions

View File

@@ -692,6 +692,9 @@ class NotificationService: UNNotificationServiceExtension {
"room_id": event.roomId as Any,
"event_id": event.eventId as Any
]
if let threadId = event.threadId {
notificationUserInfo["thread_id"] = threadId
}
if let userId = userId {
notificationUserInfo["user_id"] = userId
}