summary refs log tree commit diff
path: root/include/events/MessageEventContent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/events/MessageEventContent.h')
-rw-r--r--include/events/MessageEventContent.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/include/events/MessageEventContent.h b/include/events/MessageEventContent.h

index 9f20809d..90f6cfaf 100644 --- a/include/events/MessageEventContent.h +++ b/include/events/MessageEventContent.h
@@ -26,32 +26,32 @@ namespace matrix namespace events { enum class MessageEventType { - // m.audio - Audio, + // m.audio + Audio, - // m.emote - Emote, + // m.emote + Emote, - // m.file - File, + // m.file + File, - // m.image - Image, + // m.image + Image, - // m.location - Location, + // m.location + Location, - // m.notice - Notice, + // m.notice + Notice, - // m.text - Text, + // m.text + Text, - // m.video - Video, + // m.video + Video, - // Unrecognized message type - Unknown, + // Unrecognized message type + Unknown, }; MessageEventType @@ -62,19 +62,19 @@ class MessageEventContent , public Serializable { public: - void deserialize(const QJsonValue &data) override; - QJsonObject serialize() const override; + void deserialize(const QJsonValue &data) override; + QJsonObject serialize() const override; - inline QString body() const; + inline QString body() const; private: - QString body_; + QString body_; }; inline QString MessageEventContent::body() const { - return body_; + return body_; } } // namespace events } // namespace matrix