xmpp: Remove noisy debug logs
skip-changelog Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
parent
f7931e95b6
commit
65c3e0dee7
2 changed files with 1 additions and 7 deletions
|
|
@ -34,9 +34,8 @@ pub async fn handle_message_chat(
|
|||
return;
|
||||
}
|
||||
|
||||
// For other events, a message body is required, so stop here if there isn't one
|
||||
let Some((_lang, body)) = message.get_best_body_cloned(langs) else {
|
||||
debug!("Received normal/chat message without body:\n{:#?}", message);
|
||||
// We're not handling stuff without a body yet, skip.
|
||||
return;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -32,11 +32,6 @@ pub async fn handle_message_group_chat(
|
|||
subject.clone(),
|
||||
time_info.clone(),
|
||||
));
|
||||
} else {
|
||||
debug!(
|
||||
"Received groupchat message without body/subject:\n{:#?}",
|
||||
message
|
||||
);
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue