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

Try to continue notification polling after the browser was closed ove… #621

Conversation

nickvergessen
Copy link
Member

…r night

I'm not entirely sure this fixes it, but it is my best guess.

@nickvergessen
Copy link
Member Author

@rullzer @skjnldsv can you review?

@ChristophWurst
Copy link
Member

You can listen to server events to detect when the CSRF token was updated: https://docs.nextcloud.com/server/latest/developer_manual/app/javascript-apis.html#network-state-changes

@nickvergessen
Copy link
Member Author

@ChristophWurst added, thanks for the pointer!

@nickvergessen nickvergessen force-pushed the bugfix/noid/continue-polling-when-the-browser-wakes-up-again branch from a155a3b to 64ccef9 Compare April 27, 2020 07:20
…r night

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the bugfix/noid/continue-polling-when-the-browser-wakes-up-again branch from 64ccef9 to 7147207 Compare April 27, 2020 07:22
@nickvergessen nickvergessen merged commit ab82c1b into master Apr 27, 2020
@nickvergessen nickvergessen deleted the bugfix/noid/continue-polling-when-the-browser-wakes-up-again branch April 27, 2020 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants