Many notifications pop up after starting neochat after a long time
Description
I opened NeoChat after a long time not using it, and I had many new and unread messages. As a result, I got many popup notifications in my system tray.
Steps to reproduce
- Open app with many new unread messages
What is the current bug behavior?
There seems to be no or a too high limit for how many notifications can be in the system tray.
What is the expected correct behavior?
There should be a limit for the notification popups. For example, if there would be more than 10 popups, a single popup should show up saying something like "New messages in NeoChat" or something.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code, as it's very hard to read otherwise.)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
System/Matrix Information
- Distribution / Platform: Manjaro with KDE 5.22.3
- Qt Version: 5.15.2
- NeoChat version: 1.2
- Quotient version: 0.6.6
- Matrix server: kde.org