Fix highlighted room when opening room from notification

This commit is contained in:
Tobias Fella
2021-10-03 00:46:41 +02:00
parent 6b86c113f4
commit 011cf3c652
3 changed files with 13 additions and 4 deletions

View File

@@ -73,6 +73,7 @@ public:
Q_INVOKABLE [[nodiscard]] static QString categoryIconName(int section);
Q_INVOKABLE void setCategoryVisible(int category, bool visible);
Q_INVOKABLE [[nodiscard]] bool categoryVisible(int category) const;
Q_INVOKABLE [[nodiscard]] int indexForRoom(NeoChatRoom *room) const;
[[nodiscard]] int notificationCount() const
{