aboutsummaryrefslogtreecommitdiff
path: root/events/receiptevent.h
diff options
context:
space:
mode:
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";
};