refactor: minor tweaks

This commit is contained in:
2025-03-06 17:59:42 -05:00
parent c4454fe217
commit 9ce4a7aa1f
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ pub async fn handle_event(client: Client, event: Event, state: State) -> anyhow:
&& let Ok(trimmed) = trim_header(&decrypted)
{
ncr_options = Some(options);
content = trimmed.to_owned();
trimmed.clone_into(&mut content);
info!("Decrypted message from {sender}: {content}");
}