diff --git a/src/Cache.cpp b/src/Cache.cpp index 4321393c..0bcf9fbf 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -3432,7 +3432,7 @@ Cache::getImagePacks(const std::string &room_id, bool stickers) (void)d; if (auto pack = getStateEvent( - txn, room_id2)) + txn, room_id2, state_id)) addPack(pack->content); } }