aboutsummaryrefslogtreecommitdiff
path: root/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'user.h')
-rw-r--r--user.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/user.h b/user.h
index 95c26bca..ff81305b 100644
--- a/user.h
+++ b/user.h
@@ -47,6 +47,11 @@ namespace QMatrixClient
*/
Q_INVOKABLE QString displayname() const;
+ /**
+ * Returns the name of bridge the user is connected from or empty.
+ */
+ Q_INVOKABLE QString bridged() const;
+
QPixmap avatar(int requestedWidth, int requestedHeight);
QPixmap croppedAvatar(int requestedWidth, int requestedHeight);