Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push service tokens cleanup #399

Open
compojoom opened this issue Feb 7, 2020 · 0 comments
Open

Push service tokens cleanup #399

compojoom opened this issue Feb 7, 2020 · 0 comments

Comments

@compojoom
Copy link
Contributor

An FCM token is unique for a device. We connect the FCM token to an address and then send notifications to that fcm token.
In some situations it is possible to register the same FCM token to a different address. This would mean that a user could get push notifications for an account he is currently logged out from.

An easy fix on the relay server would be to cleanup the old addresses with the same FCM token, whenever someone tries to register a new address with the same FCM token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant