aboutsummaryrefslogtreecommitdiff
path: root/jobs/syncjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/syncjob.h')
-rw-r--r--jobs/syncjob.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/jobs/syncjob.h b/jobs/syncjob.h
index 5956e73b..919060be 100644
--- a/jobs/syncjob.h
+++ b/jobs/syncjob.h
@@ -53,6 +53,7 @@ namespace QMatrixClient
bool timelineLimited;
QString timelinePrevBatch;
+ int unreadCount;
int highlightCount;
int notificationCount;
@@ -60,6 +61,8 @@ namespace QMatrixClient
const QJsonObject& room_);
SyncRoomData(SyncRoomData&&) = default;
SyncRoomData& operator=(SyncRoomData&&) = default;
+
+ static const QString UnreadCountKey;
};
// QVector cannot work with non-copiable objects, std::vector can.
using SyncDataList = std::vector<SyncRoomData>;