|
|
@ -648,7 +648,7 @@ class NotificationActionHandler {
|
|
|
|
// can be visible to the user immediately upon opening the app, rather than having to watch
|
|
|
|
// can be visible to the user immediately upon opening the app, rather than having to watch
|
|
|
|
// it animate in from the homescreen.
|
|
|
|
// it animate in from the homescreen.
|
|
|
|
let shouldAnimate = UIApplication.shared.applicationState == .active
|
|
|
|
let shouldAnimate = UIApplication.shared.applicationState == .active
|
|
|
|
signalApp.presentConversationAndShowFirstUnreadMessage(forThreadId: threadId, animated: shouldAnimate)
|
|
|
|
signalApp.presentConversationAndScrollToFirstUnreadMessage(forThreadId: threadId, animated: shouldAnimate)
|
|
|
|
return Promise.value(())
|
|
|
|
return Promise.value(())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|