summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-09-07 19:03:54 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-09-16 23:49:17 +0200
commitc5f93efcd380e609bb632e15b3209b04e7a1f9bd (patch)
tree679d3716cda66092350a0d2aac88b83a09d3c612 /src
parentFix avatars in notifications (diff)
downloadnheko-c5f93efcd380e609bb632e15b3209b04e7a1f9bd.tar.xz
Actually use room account data
Diffstat (limited to 'src')
-rw-r--r--src/Cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp

index a5181880..98fe64c0 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp
@@ -1031,7 +1031,7 @@ Cache::saveState(const mtx::responses::Sync &res) updatedInfo.version = getRoomVersion(txn, statesdb).toStdString(); // Process the account_data associated with this room - if (!res.account_data.events.empty()) { + if (!room.second.account_data.events.empty()) { auto accountDataDb = getAccountDataDb(txn, room.first); bool has_new_tags = false;