Skip to content

Commit

Permalink
Fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
StorytellerCZ committed Jul 16, 2024
1 parent 680958a commit 91798ee
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions server/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,6 @@ const onStartup = async (selector) => {
selector = Meteor?.settings?.packages?.['mizzao:user-status']?.startupQuerySelector || { 'status.online': true };
}
return await Meteor.users.updateAsync(selector, {
$set: {
'status.online': false
},
$unset: {
'status.idle': null,
'status.lastActivity': null
}
return Meteor.users.update(selector, {
$set: {
'status.online': false
},
Expand All @@ -155,8 +147,8 @@ const onStartup = async (selector) => {
}
}, {
multi: true
});
});
}
);
};

/*
Expand Down

0 comments on commit 91798ee

Please sign in to comment.