summary refs log tree commit diff
path: root/src/Cache.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-07-19 03:29:48 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-07-19 03:29:48 +0200
commit56b44a85b572df2565dfdb8269146830d7ba02d0 (patch)
tree638bd0c6848c0a172a3e640c915c67254f7281f8 /src/Cache.cpp
parentMove sticker parsing and enable room stickers (diff)
downloadnheko-56b44a85b572df2565dfdb8269146830d7ba02d0.tar.xz
Fix unused state key when iterating room stickers
Diffstat (limited to '')
-rw-r--r--src/Cache.cpp2
1 files changed, 1 insertions, 1 deletions
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<mtx::events::msc2545::ImagePack>(
-                                                txn, room_id2))
+                                                txn, room_id2, state_id))
                                                 addPack(pack->content);
                                 }
                         }