-
Notifications
You must be signed in to change notification settings - Fork 210
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
Gmail Notifications #376
Gmail Notifications #376
Conversation
Hey @magne4000 I need your bright ideas again. |
I cannot test that right now, probably during the next few days I'll be able to, but in the mean time, can you explain what you did to "fix" this issue? |
I separated the code because of isolated context. So the algorithm is the same as before. I only changed the implementation.
|
I noticed that when I reload gmail page, and then trigger a notification, all handlers seems to be called once more. (So after 10 reload, notification is received 11 times in the rest of the app). |
Hey @magne4000 have you had a chance to take a look at the problem |
I did not do much since my last comment, and probably will not dig further into that matter TBH. That being said, if handlers are registered on page refresh, but previous ones are not dropped, that's probably why you have this issue. |
@magne4000 It works now! |
@viktor44 any idea what actually fixed the issue? |
It was a silly bug. For Gmail we receive icon URL without Then we ask Electron to create image from this URL
and it blocks main thread for 30 seconds. |
What is this PR
Fixed Notifications not working #177 for Gmail