aboutsummaryrefslogtreecommitdiff
path: root/events/roomaliasesevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'events/roomaliasesevent.h')
-rw-r--r--events/roomaliasesevent.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/events/roomaliasesevent.h b/events/roomaliasesevent.h
index 8f638be2..efafcb30 100644
--- a/events/roomaliasesevent.h
+++ b/events/roomaliasesevent.h
@@ -24,18 +24,14 @@
namespace QMatrixClient
{
- class RoomAliasesEvent: public Event
+ class RoomAliasesEvent: public RoomEvent
{
public:
- RoomAliasesEvent();
- virtual ~RoomAliasesEvent();
+ explicit RoomAliasesEvent(const QJsonObject& obj);
- QStringList aliases() const;
-
- static RoomAliasesEvent* fromJson(const QJsonObject& obj);
+ QStringList aliases() const { return _aliases; }
private:
- class Private;
- Private* d;
+ QStringList _aliases;
};
-}
+} // namespace QMatrixClient