add: clear online status on server boot
This commit is contained in:
@@ -123,6 +123,11 @@ impl Services {
|
||||
.start()
|
||||
.await?;
|
||||
|
||||
// clear online statuses
|
||||
if self.server.config.allow_local_presence {
|
||||
_ = self.presence.unset_all_presence().await;
|
||||
}
|
||||
|
||||
// set the server user as online
|
||||
if self.server.config.allow_local_presence && !self.db.is_read_only() {
|
||||
_ = self
|
||||
|
||||
Reference in New Issue
Block a user