From c7b78ca1825c597278df827269dd78437eb44ba2 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 9 Jun 2023 23:22:44 +0200 Subject: [PATCH] Properly set pack avatar fixes #1480 --- src/GridImagePackModel.cpp | 2 ++ 1 file changed, 2 insertions(+) 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;