Fix unused state key when iterating room stickers
This commit is contained in:
parent
9d5ba4f681
commit
56b44a85b5
@ -3432,7 +3432,7 @@ Cache::getImagePacks(const std::string &room_id, bool stickers)
|
|||||||
(void)d;
|
(void)d;
|
||||||
if (auto pack =
|
if (auto pack =
|
||||||
getStateEvent<mtx::events::msc2545::ImagePack>(
|
getStateEvent<mtx::events::msc2545::ImagePack>(
|
||||||
txn, room_id2))
|
txn, room_id2, state_id))
|
||||||
addPack(pack->content);
|
addPack(pack->content);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user