mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2024-11-27 20:45:30 +00:00
use debug_warn for presence spam
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
6e59135a7d
commit
4a68e28c71
|
@ -1,4 +1,4 @@
|
|||
use conduit::debug_info;
|
||||
use conduit::debug_warn;
|
||||
use ruma::{events::presence::PresenceEvent, presence::PresenceState, OwnedUserId, UInt, UserId};
|
||||
|
||||
use crate::{
|
||||
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue