use debug_warn for presence spam
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
6e59135a7d
commit
4a68e28c71
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
use conduit::debug_info;
|
use conduit::debug_warn;
|
||||||
use ruma::{events::presence::PresenceEvent, presence::PresenceState, OwnedUserId, UInt, UserId};
|
use ruma::{events::presence::PresenceEvent, presence::PresenceState, OwnedUserId, UInt, UserId};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
@ -67,7 +67,7 @@ impl Data for KeyValueDatabase {
|
||||||
|
|
||||||
// tighten for state flicker?
|
// tighten for state flicker?
|
||||||
if !state_changed && last_active_ts <= last_last_active_ts {
|
if !state_changed && last_active_ts <= last_last_active_ts {
|
||||||
debug_info!(
|
debug_warn!(
|
||||||
"presence spam {:?} last_active_ts:{:?} <= {:?}",
|
"presence spam {:?} last_active_ts:{:?} <= {:?}",
|
||||||
user_id,
|
user_id,
|
||||||
last_active_ts,
|
last_active_ts,
|
||||||
|
|
Loading…
Add table
Reference in a new issue