diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-09 23:22:44 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-09 23:22:44 +0200 |
commit | c7b78ca1825c597278df827269dd78437eb44ba2 (patch) | |
tree | 2f984ca7122f0108666d05b2ee5b008f17b9b9dd /src/GridImagePackModel.cpp | |
parent | Fix binding loop in roomlist (diff) | |
download | nheko-c7b78ca1825c597278df827269dd78437eb44ba2.tar.xz |
Properly set pack avatar
fixes #1480
Diffstat (limited to '')
-rw-r--r-- | src/GridImagePackModel.cpp | 2 |
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; |