Always sync session table to database

Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
David Mehren 2020-04-25 14:38:15 +02:00
parent 6480c142a9
commit 5996e4c594
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB

View file

@ -267,6 +267,7 @@ function startListen (): void {
// sync db then start listen
sequelize.authenticate().then(function () {
sessionStore.sync()
// check if realtime is ready
if (realtime.isReady()) {
Revision.checkAllNotesRevision(function (err, notes) {