Skip to content

Commit

Permalink
use debug_warn for presence spam
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Volk <[email protected]>
  • Loading branch information
jevolk committed Jun 7, 2024
1 parent 6e59135 commit 4a68e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/service/presence/data.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use conduit::debug_info;
use conduit::debug_warn;
use ruma::{events::presence::PresenceEvent, presence::PresenceState, OwnedUserId, UInt, UserId};

use crate::{
Expand Down Expand Up @@ -67,7 +67,7 @@ impl Data for KeyValueDatabase {

// tighten for state flicker?
if !state_changed && last_active_ts <= last_last_active_ts {
debug_info!(
debug_warn!(
"presence spam {:?} last_active_ts:{:?} <= {:?}",
user_id,
last_active_ts,
Expand Down

0 comments on commit 4a68e28

Please sign in to comment.