Ablity to mark messages seen based on notificationId #2938
jarredwitt
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have several templates defined that include multiple channels. An example would be the following:
The scenario I have right now is with mobile. A user receives a push notification, opens the app and we show them the content. We also have an activities screen that displays messages from the in-app channel in a list. If the user navigates to the activity screen after opening the app via the push notification they will see the same message that they just interacted with as unseen since the message from the in-app channel has not been marked as seen yet. This is the correct behavior because the push message and the in-app message are two different messages.
Ideally it'd be nice to mark messages associated with the push notification's notificationId as seen so that the other notification channels do not show as unseen. It seems like the payload for
novu/apps/api/src/app/subscribers/subscribers.controller.ts
Line 442 in 9350d71
Beta Was this translation helpful? Give feedback.
All reactions