aboutsummaryrefslogtreecommitdiff
path: root/lib/syncdata.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-11-17 19:37:20 +0100
committerGitHub <noreply@github.com>2021-11-17 19:37:20 +0100
commitd02a6ffc90d0d2a7984560ec28241be228014fac (patch)
tree4a2a869a2ce437ba17c7269e8e904276a11db62a /lib/syncdata.h
parentd5515bb6dd8ebf46aa36a8bc696b90a573a8492c (diff)
parent0052c0b2b4f9860ee9223ef161f40929e7c4c454 (diff)
downloadlibquotient-d02a6ffc90d0d2a7984560ec28241be228014fac.tar.gz
libquotient-d02a6ffc90d0d2a7984560ec28241be228014fac.zip
Merge pull request #487 from quotient-im/kitsune-fix-read-receipts-and-markers
Distinguish between read receipts and the fully read marker
Diffstat (limited to 'lib/syncdata.h')
-rw-r--r--lib/syncdata.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/syncdata.h b/lib/syncdata.h
index b0e31726..b869a541 100644
--- a/lib/syncdata.h
+++ b/lib/syncdata.h
@@ -87,7 +87,8 @@ public:
QStringList unresolvedRooms() const { return unresolvedRoomIds; }
- static std::pair<int, int> cacheVersion() { return { 11, 0 }; }
+ static constexpr int MajorCacheVersion = 11;
+ static std::pair<int, int> cacheVersion();
static QString fileNameForRoom(QString roomId);
private: