-
Notifications
You must be signed in to change notification settings - Fork 14
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
create notifications API #485
Comments
Could I ask what notifications API is required? |
Hi @abc22413 ! Welcome ! The idea of that story is to provide BitDust UI some way to handle notifications that needs to be displayed for the user. That includes situations when UI is not running at the moment when notification came. Later, when user opens the UI, it needs to request that new notification endpoint and get those items that needs to be displayed for the user. It is like on your mobile phone - when you switched it ON but something happened while it was OFF - you see a red dot on top of the app icon. For example: BitDust received a new request from another user who wants to add you as a friend but your UI was not running at that moment - later when you open BitDust UI it suppose to show you that request. But also if you are running UI at that moment when another user requested to be your friend - notification must be shown right away. Probably we need to have some flag internally: You can store notifications locally in sqlite3 DB which is already there: https://github.com/bitdust-io/devel/blob/master/chat/message_database.py If you like we can have on-line call to discuss the idea in more details. Please join us in Telegram: https://t.me/bitdust or in the slack - i will need your email address to send Slack invite. |
No description provided.
The text was updated successfully, but these errors were encountered: