mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 20:56:49 +00:00
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:
1 parent
aa612baef3
commit
4727f07e26
3 files changed
+7
-1
No files matched your search
@@ -27,7 +27,8 @@ impl crate::Service for Service {
|
||||
db: Data {
|
||||
userroomid_notificationcount: args.db["userroomid_notificationcount"].clone(),
|
||||
userroomid_highlightcount: args.db["userroomid_highlightcount"].clone(),
|
||||
roomuserid_lastnotificationread: args.db["userroomid_highlightcount"].clone(),
|
||||
roomuserid_lastnotificationread: args.db["roomuserid_lastnotificationread"]
|
||||
.clone(),
|
||||
},
|
||||
services: Services {
|
||||
globals: args.depend::<globals::Service>("globals"),
|
||||
|
||||
Reference in new issue
Block a user