aboutsummaryrefslogtreecommitdiff
path: root/user.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'user.cpp')
-rw-r--r--user.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/user.cpp b/user.cpp
index 8b662acb..b0890b61 100644
--- a/user.cpp
+++ b/user.cpp
@@ -145,6 +145,11 @@ QImage User::avatar(int width, int height)
return d->avatar.get(width, height, [=] { emit avatarChanged(this); });
}
+QString User::avatarMediaId() const
+{
+ return d->avatar.mediaId();
+}
+
QUrl User::avatarUrl() const
{
return d->avatar.url();