aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index 8395baca..5da9373e 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -404,6 +404,11 @@ QUrl Room::avatarUrl() const
return d->avatar.url();
}
+const Avatar& Room::avatarObject() const
+{
+ return d->avatar;
+}
+
QImage Room::avatar(int dimension)
{
return avatar(dimension, dimension);