aboutsummaryrefslogtreecommitdiff
path: root/events/receiptevent.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-01 00:02:24 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-01 00:02:24 +0900
commitb469f1c9ab7603a297b1c0082d804312cabbd550 (patch)
tree0af150a0180b12d9a74fb40c96ef9a184508039f /events/receiptevent.h
parent715ebcfc5c33ff83cc8f185b6e14cfbba01c637b (diff)
parentae59271da3a199eb936aa709893ef592cd51f172 (diff)
downloadlibquotient-b469f1c9ab7603a297b1c0082d804312cabbd550.tar.gz
libquotient-b469f1c9ab7603a297b1c0082d804312cabbd550.zip
Merge branch 'master' into kitsune-apigen
Diffstat (limited to 'events/receiptevent.h')
-rw-r--r--events/receiptevent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/events/receiptevent.h b/events/receiptevent.h
index 1d280822..cbe36b10 100644
--- a/events/receiptevent.h
+++ b/events/receiptevent.h
@@ -41,9 +41,11 @@ namespace QMatrixClient
EventsWithReceipts eventsWithReceipts() const
{ return _eventsWithReceipts; }
+ bool unreadMessages() const { return _unreadMessages; }
private:
EventsWithReceipts _eventsWithReceipts;
+ bool _unreadMessages; // Spec extension for caching purposes
static constexpr const char * jsonType = "m.receipt";
};