-
Notifications
You must be signed in to change notification settings - Fork 2
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
Notifications: They never go away :-) #22
Comments
Whoa. It's not quite this nuts on OS X. That's pretty amazing. I was thinking about this, since I keep reloading the app. My intent is to look into localStorage and how it can be used with electron apps. We could conceivably store the id of the last message for which you were notified. The notifier could then crawl back on initial load until it hits the last message id in the message chain, and only notify you for messages that are new. e.g. @name Messages:
"4" is stored. You close the app, and return. Then there's:
You get notified about 5 and 6. "6" is stored, replacing "4". Etc. |
And this would be room-specific somehow. |
localStorage, cool. I wonder what persists, and for how long, between sessions of an Electron app being run? Anyway, I say -- no need to worry about this right now unless you want to play with the tech needed to solve this. |
The text was updated successfully, but these errors were encountered: