aboutsummaryrefslogtreecommitdiff
path: root/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'room.h')
-rw-r--r--room.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/room.h b/room.h
index 72a1f249..261ce44d 100644
--- a/room.h
+++ b/room.h
@@ -53,6 +53,12 @@ namespace QMatrixClient
Q_INVOKABLE QList<User*> users() const;
+ /**
+ * @brief Produces a disambiguated name for a given user in
+ * the context of the room.
+ */
+ Q_INVOKABLE QString roomMembername(User* u) const;
+
Q_INVOKABLE void addMessage( Event* event );
Q_INVOKABLE void addInitialState( State* state );
Q_INVOKABLE void updateData( const SyncRoomData& data );