diff options
Diffstat (limited to 'events/tagevent.h')
-rw-r--r-- | events/tagevent.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/events/tagevent.h b/events/tagevent.h index 23b0b703..44a7e49a 100644 --- a/events/tagevent.h +++ b/events/tagevent.h @@ -22,6 +22,9 @@ namespace QMatrixClient { + static constexpr const char* FavouriteTag = "m.favourite"; + static constexpr const char* LowPriorityTag = "m.lowpriority"; + struct TagRecord { explicit TagRecord(const QJsonObject& json = {}); @@ -40,11 +43,6 @@ namespace QMatrixClient /** Get the list of tags along with information on each */ QHash<QString, TagRecord> tags() const; - /** Check whether the list of tags has m.favourite */ - bool isFavourite() const; - /** Check whether the list of tags has m.lowpriority */ - bool isLowPriority() const; - static constexpr const char * TypeId = "m.tag"; protected: |