diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-03-26 08:06:04 -0400 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-03-26 08:06:04 -0400 |
commit | 39a8c43d96896aa1401a791b246de53794e06f65 (patch) | |
tree | b03a8b045f0ad9560626cf7385604d4ad5f25eab /room.h | |
parent | 93dc89d9353e9f30d42528d8ffaba992f58139aa (diff) | |
download | libquotient-39a8c43d96896aa1401a791b246de53794e06f65.tar.gz libquotient-39a8c43d96896aa1401a791b246de53794e06f65.zip |
Count unread messages
Diffstat (limited to 'room.h')
-rw-r--r-- | room.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -229,7 +229,8 @@ namespace QMatrixClient */ void markMessagesAsRead(QString uptoEventId); - Q_INVOKABLE bool hasUnreadMessages(); + Q_INVOKABLE bool hasUnreadMessages() const; + int unreadMessagesCount() const; Q_INVOKABLE int notificationCount() const; Q_INVOKABLE void resetNotificationCount(); |