Add a button to mark spaces as read
[BUG: 508122](https://bugs.kde.org/show_bug.cgi?id=508122)
This commit is contained in:
committed by
Joshua Goins
parent
fb8ee02e3b
commit
ade5750550
@@ -84,6 +84,11 @@ public:
|
||||
*/
|
||||
[[nodiscard]] bool isChild(const QString &roomId) const;
|
||||
|
||||
/**
|
||||
* @brief Return whether the given space has unread messages.
|
||||
*/
|
||||
bool spaceHasUnreadMessages(const QString &spaceId);
|
||||
|
||||
NeoChatConnection *connection() const;
|
||||
void setConnection(NeoChatConnection *connection);
|
||||
|
||||
@@ -95,6 +100,8 @@ public:
|
||||
bool recommendedSpaceHidden() const;
|
||||
void setRecommendedSpaceHidden(bool hidden);
|
||||
|
||||
void markAllChildrenMessagesAsRead(const QString &spaceId);
|
||||
|
||||
Q_SIGNALS:
|
||||
void spaceHierarchyChanged();
|
||||
void connectionChanged();
|
||||
|
||||
Reference in New Issue
Block a user