aboutsummaryrefslogtreecommitdiff
path: root/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'room.h')
-rw-r--r--room.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/room.h b/room.h
index 25eae11b..8f6a65a6 100644
--- a/room.h
+++ b/room.h
@@ -37,11 +37,13 @@ namespace QMatrixClient
{
Q_OBJECT
public:
+ using Timeline = Events;
+
Room(Connection* connection, QString id);
virtual ~Room();
Q_INVOKABLE QString id() const;
- Q_INVOKABLE QList<Event*> messageEvents() const;
+ Q_INVOKABLE Timeline messageEvents() const;
Q_INVOKABLE QString name() const;
Q_INVOKABLE QStringList aliases() const;
Q_INVOKABLE QString canonicalAlias() const;