Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

fix: use random account id in notification endpoint #806

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

FineFindus
Copy link

Closes #803 and LucasGGamerM#254. This was due to registering with the actual account ID while saving a random one. After receiving a notification, the ID could not be found compared to the saved random one, so no notification was displayed.

The problem only occurred when a user tried to re-register with FCM, either by switching from Unified Push or by changing the notification settings, so only some users were affected.

Closes sk22#803. This was due to registering with the actual accounId, whilst saving a random one. Once receiving a notification, the id could not be found.
@sk22 sk22 merged commit f51f2a1 into sk22:main Sep 7, 2023
1 check passed
@FineFindus FineFindus deleted the fix/notification-endpoint branch September 7, 2023 17:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fcm notifs still broken
2 participants