Fix unused state key when iterating room stickers

This commit is contained in:
Nicolas Werner 2021-07-19 03:29:48 +02:00
parent 9d5ba4f681
commit 56b44a85b5
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 1 additions and 1 deletions

View File

@ -3432,7 +3432,7 @@ Cache::getImagePacks(const std::string &room_id, bool stickers)
(void)d;
if (auto pack =
getStateEvent<mtx::events::msc2545::ImagePack>(
txn, room_id2))
txn, room_id2, state_id))
addPack(pack->content);
}
}