푸시 혹은 공유링크를 타고 앱을 실행했을 때 처리되는 로직 수정

This commit is contained in:
Yu Sung
2023-08-19 22:57:10 +09:00
parent 8e23f65086
commit 5a771f14bd
4 changed files with 41 additions and 3 deletions

View File

@@ -94,7 +94,7 @@ extension AppDelegate : UNUserNotificationCenterDelegate {
// With swizzling disabled you must let Messaging know about the message, for Analytics
Messaging.messaging().appDidReceiveMessage(userInfo)
let roomIdString = userInfo["suda_room_id"] as? String
let roomIdString = userInfo["room_id"] as? String
let audioContentIdString = userInfo["audio_content_id"] as? String
if let roomIdString = roomIdString, let roomId = Int(roomIdString), roomId > 0 {