aboutsummaryrefslogtreecommitdiff
path: root/events/receiptevent.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-05 21:06:16 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-05 21:06:16 +0900
commit63efbe26f37819048bb236d4839cc5f25c102785 (patch)
tree95d32fe83cd532815c6f6316e7c5ab3c9e73d4b7 /events/receiptevent.h
parentf207955e2e0a77b7a47b47513374ccc3e6a71c1e (diff)
downloadlibquotient-63efbe26f37819048bb236d4839cc5f25c102785.tar.gz
libquotient-63efbe26f37819048bb236d4839cc5f25c102785.zip
Support server-side read marker (m.full_read)
Closes #183. There's also the m.read part but it can be done sometime later, as it's pure optimisation.
Diffstat (limited to 'events/receiptevent.h')
-rw-r--r--events/receiptevent.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/events/receiptevent.h b/events/receiptevent.h
index 92dace82..5b99ae3f 100644
--- a/events/receiptevent.h
+++ b/events/receiptevent.h
@@ -41,12 +41,10 @@ namespace QMatrixClient
EventsWithReceipts eventsWithReceipts() const
{ return _eventsWithReceipts; }
- bool unreadMessages() const { return _unreadMessages; }
static constexpr const char* const TypeId = "m.receipt";
private:
EventsWithReceipts _eventsWithReceipts;
- bool _unreadMessages; // Spec extension for caching purposes
};
} // namespace QMatrixClient