Skip to content
Snippets Groups Projects
Verified Commit c7b78ca1 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Properly set pack avatar

fixes #1480
parent 2d7c007e
No related branches found
No related tags found
No related merge requests found
Pipeline #4901 passed
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment