mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 21:18:48 +03:00
Actually use room account data
This commit is contained in:
parent
8af056faa9
commit
c5f93efcd3
1 changed files with 1 additions and 1 deletions
|
@ -1031,7 +1031,7 @@ Cache::saveState(const mtx::responses::Sync &res)
|
||||||
updatedInfo.version = getRoomVersion(txn, statesdb).toStdString();
|
updatedInfo.version = getRoomVersion(txn, statesdb).toStdString();
|
||||||
|
|
||||||
// Process the account_data associated with this room
|
// 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);
|
auto accountDataDb = getAccountDataDb(txn, room.first);
|
||||||
|
|
||||||
bool has_new_tags = false;
|
bool has_new_tags = false;
|
||||||
|
|
Loading…
Reference in a new issue