fix(notification): open tapped chat at bottom (#984)

Co-authored-by: M57 <41645758+Hy4ri@users.noreply.github.com>
This commit is contained in:
AlexDev_
2026-08-27 10:41:08 +03:00
committed by GitHub
co-authored by M57
parent 19065f02df
commit ce8fdc45bd
4 changed files with 65 additions and 7 deletions
@@ -96,6 +96,6 @@ class MainActivity : ComponentActivity() {
if (intent?.action != ACTION_OPEN_CHAT_FROM_NOTIFICATION) return
val sessionId = intent.getStringExtra(NotificationReplyReceiver.EXTRA_SESSION_ID)
intent.removeExtra(NotificationReplyReceiver.EXTRA_SESSION_ID)
sessionId?.takeIf { it.isNotBlank() }?.let(NavigationController::openChatSession)
sessionId?.takeIf { it.isNotBlank() }?.let(NavigationController::openChatSessionFromNotification)
}
}