aboutsummaryrefslogtreecommitdiff
path: root/user.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-06-07 18:43:42 +0900
committerGitHub <noreply@github.com>2017-06-07 18:43:42 +0900
commitc7c8dd72a4a3c503a2febf428932e0eec4b73aa6 (patch)
tree6be3b4a49cfbcc691ebd9dbf76cec5e712dea1f6 /user.h
parent28ff47e9cc49c81c1521e4b4e8453cbf28384f44 (diff)
parent3bad869c1cf9281a27dbcbeebcc05edd41c46dff (diff)
downloadlibquotient-c7c8dd72a4a3c503a2febf428932e0eec4b73aa6.tar.gz
libquotient-c7c8dd72a4a3c503a2febf428932e0eec4b73aa6.zip
Merge pull request #69 from Quiark/pull-bridged-field
Split bridge name into a separate field in user model
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);