You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproducing on Android 12, Samsing Galaxy A52. Bug is not reproducible every time
Preconditions: User A (Android) turns on push notifications
Steps:
User A opens 1-1 chat with User B
User A closes the app
User B sends mention/reply to User A in community channel
User A taps on PN
See if User A is redirected into community cahnnel
Actual result: sometimes User A remains on 1-1 chat screen and is redirected to the channel. At the same time, the message in channel appears as read despite User A in fact has not opened the channel.
Hi @yqrashawn,
when we are navigating to 1-1 chat, we always pop-to-root. But we don't do this in case of community chat (because we need to keep the community screen open). (reference)
Still, we have (close-chat false) in the navigate-to-chat event that should have closed the current 1-1 chat (even if the view is not destroyed).
I didn't look much into the issue and am not sure why current-chat-id didn't update while navigating, still, the issue might be related to this. We probably need to pop-to-root before navigating to community chat from notification.
Followup of #17721 cc @yqrashawn
Reproducing on Android 12, Samsing Galaxy A52. Bug is not reproducible every time
Preconditions: User A (Android) turns on push notifications
Steps:
Actual result: sometimes User A remains on 1-1 chat screen and is redirected to the channel. At the same time, the message in channel appears as read despite User A in fact has not opened the channel.
redirected_wrong_chat.mp4
Status-debug-logs (76).zip
Expected result: User A should be redirected to the right chat upon PN.
Additional Information
The text was updated successfully, but these errors were encountered: