mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Make websocket pushes more targeted
This commit is contained in:
@@ -48,7 +48,7 @@ export async function dispatchAddUser ({ action, cache }: {
|
||||
}, { transaction: cache.transaction })
|
||||
|
||||
cache.invalidiateUserList = true
|
||||
cache.areChangesImportant = true
|
||||
cache.incrementTriggeredSyncLevel(1)
|
||||
|
||||
cache.doesUserExist.cache.set(action.userId, true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user