Fix unused state key when iterating room stickers

pull/648/head
Nicolas Werner 3 years ago
parent 9d5ba4f681
commit 56b44a85b5
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      src/Cache.cpp

@ -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…
Cancel
Save