fix: Correct roomuserid_lastnotificationread table alias

roomuserid_lastnotificationread was mapped to userroomid_highlightcount
instead of its own table, so last_notification_read() read the highlight
count and reset_notification_counts clobbered the highlight table when
setting a read marker. Add the missing table definition and fix the alias.
This commit is contained in:
Erwan Leboucher authored and Ellis Git committed 2026-07-24 01:13:42 +00:00
1 parent aa612baef3
commit 4727f07e26
3 files changed
+7 -1

No files matched your search

+4
View File
@@ -478,6 +478,10 @@ pub(super) static MAPS: &[Descriptor] = &[
name: "logintoken_expiresatuserid",
..descriptor::RANDOM_SMALL
},
Descriptor {
name: "roomuserid_lastnotificationread",
..descriptor::RANDOM
},
Descriptor {
name: "userroomid_highlightcount",
..descriptor::RANDOM