[RSS Feed/News] User unsubscribed from push notifications when in admin

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
If you are subscribed to push notifications, that subscription is removed from the xf_user_push_subscription when you enter the admin area. There is a mechanism that automatically deletes the user's push subscription record if the user doesn't have a user_id (XF.config.userId) so a user of a browser doesn't get some other user's push notifications if they log out of the browser. Since admin and public are different apps, logging into the admin area gives the user a userId of 0...

Read more
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom