diff options
Diffstat (limited to 'lib/events/roomtombstoneevent.h')
-rw-r--r-- | lib/events/roomtombstoneevent.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/events/roomtombstoneevent.h b/lib/events/roomtombstoneevent.h index 5b7ade76..aa9cb766 100644 --- a/lib/events/roomtombstoneevent.h +++ b/lib/events/roomtombstoneevent.h @@ -20,22 +20,22 @@ #include "stateevent.h" -namespace QMatrixClient { - class RoomTombstoneEvent : public StateEventBase - { - public: - DEFINE_EVENT_TYPEID("m.room.tombstone", RoomTombstoneEvent) +namespace QMatrixClient +{ +class RoomTombstoneEvent : public StateEventBase +{ +public: + DEFINE_EVENT_TYPEID("m.room.tombstone", RoomTombstoneEvent) - explicit RoomTombstoneEvent() : StateEventBase(typeId(), matrixTypeId()) - { - } - explicit RoomTombstoneEvent(const QJsonObject& obj) - : StateEventBase(typeId(), obj) - { - } + explicit RoomTombstoneEvent() + : StateEventBase(typeId(), matrixTypeId()) + {} + explicit RoomTombstoneEvent(const QJsonObject& obj) + : StateEventBase(typeId(), obj) + {} - QString serverMessage() const; - QString successorRoomId() const; - }; - REGISTER_EVENT_TYPE(RoomTombstoneEvent) -} + QString serverMessage() const; + QString successorRoomId() const; +}; +REGISTER_EVENT_TYPE(RoomTombstoneEvent) +} // namespace QMatrixClient |