diff --git a/src/service/rooms/edus/presence/mod.rs b/src/service/rooms/edus/presence/mod.rs
index b78bf46e..a4099e80 100644
--- a/src/service/rooms/edus/presence/mod.rs
+++ b/src/service/rooms/edus/presence/mod.rs
@@ -4,7 +4,7 @@ pub use data::Data;
use ruma::{events::presence::PresenceEvent, OwnedUserId, RoomId, UserId};
use tokio::sync::mpsc;
-use crate::{Error, Result, services};
+use crate::{services, Error, Result};
pub struct Service {
pub db: &'static dyn Data,
@@ -37,7 +37,7 @@ impl Service {
spawn_timer: bool,
) -> Result<()> {
if !services().globals.allow_presence() {
- return Ok(())
+ return Ok(());
}
if spawn_timer {
@@ -60,7 +60,7 @@ impl Service {
spawn_timer: bool,
) -> Result<()> {
if !services().globals.allow_presence() {
- return Ok(())
+ return Ok(());
}
if spawn_timer {
@@ -73,7 +73,7 @@ impl Service {
/// Returns the timestamp of when the presence was last updated for the specified user.
pub fn last_presence_update(&self, user_id: &UserId) -> Result