summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/GridImagePackModel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GridImagePackModel.cpp b/src/GridImagePackModel.cpp
index 2d5960a4..cfd014f0 100644
--- a/src/GridImagePackModel.cpp
+++ b/src/GridImagePackModel.cpp
@@ -108,6 +108,8 @@ GridImagePackModel::GridImagePackModel(const std::string &roomId, bool stickers,
         PackDesc newPack{};
         newPack.packname =
           pack.pack.pack ? QString::fromStdString(pack.pack.pack->display_name) : QString();
+        newPack.packavatar =
+          pack.pack.pack ? QString::fromStdString(pack.pack.pack->avatar_url) : QString();
         newPack.room_id   = pack.source_room;
         newPack.state_key = pack.state_key;