Reworking notifications system
ringnotify contains a lot of old code and don't use new LRC models for now. This needs some work to update this file.
For now, I see 3 types for notifications:
- Call notifications, opened when an incoming call is here and closed at the end of the call.
- Request notifications: opened when a new trust request arrives and closed when the user accepts/refuse/block or just open the conversation.
- Chat notifications: arrives with new interactions and if the current conversation is different or the client not focused. Closed by Gnome or when the conversation is opened.
If the conversation is already activated but not used for x minutes, the notification should still pop