Refactoring

This commit is contained in:
dahoud
2026-01-31 16:54:46 +00:00
parent ce89face73
commit 9dc9ca591c
85 changed files with 2643 additions and 381 deletions

View File

@@ -51,7 +51,7 @@ public class PresenceService {
// Broadcast présence aux autres utilisateurs
broadcastPresenceToAll(userId, true, user.getLastSeen());
System.out.println("[PRESENCE] Utilisateur " + userId + " marqué online");
Log.debug("[PRESENCE] Utilisateur " + userId + " marqué online");
}
}
@@ -70,7 +70,7 @@ public class PresenceService {
// Broadcast présence aux autres utilisateurs
broadcastPresenceToAll(userId, false, user.getLastSeen());
System.out.println("[PRESENCE] Utilisateur " + userId + " marqué offline");
Log.debug("[PRESENCE] Utilisateur " + userId + " marqué offline");
}
}
@@ -87,7 +87,7 @@ public class PresenceService {
if (user != null) {
user.updatePresence();
usersRepository.persist(user);
System.out.println("[PRESENCE] Heartbeat reçu pour utilisateur " + userId);
Log.debug("[PRESENCE] Heartbeat reçu pour utilisateur " + userId);
}
}