mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-19 07:08:41 +01:00
Sorting, fix user object bug, add settings module
This commit is contained in:
1 parent
e1aa95af97
commit
30ca0bb95f
18 files changed
+164
-17
No files matched your search
@@ -115,8 +115,12 @@ class StreamManager {
|
||||
Logger.error('No User for client', client)
|
||||
return
|
||||
}
|
||||
if (!client.user.updateAudiobookProgress) {
|
||||
Logger.error('Invalid User for client', client)
|
||||
return
|
||||
}
|
||||
client.user.updateAudiobookProgress(client.stream)
|
||||
this.db.updateEntity('user', client.user.toJSON())
|
||||
this.db.updateEntity('user', client.user)
|
||||
}
|
||||
}
|
||||
module.exports = StreamManager
|
||||
Reference in new issue
Block a user