From a21cd76b5d08ddc909301e681e0d23cf873db03f Mon Sep 17 00:00:00 2001 From: xmppftw Date: Sun, 31 Dec 2023 19:59:05 +0100 Subject: [PATCH] Run cargo fmt --- xmpp/src/message/receive/group_chat.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xmpp/src/message/receive/group_chat.rs b/xmpp/src/message/receive/group_chat.rs index 71611fb..9d29814 100644 --- a/xmpp/src/message/receive/group_chat.rs +++ b/xmpp/src/message/receive/group_chat.rs @@ -17,7 +17,11 @@ pub async fn handle_message_group_chat( let langs: Vec<&str> = agent.lang.iter().map(String::as_str).collect(); if let Some((_lang, subject)) = message.get_best_subject(langs.clone()) { - events.push(Event::RoomSubject(from.to_bare(), from.resource_str().map(String::from), subject.0.clone())); + events.push(Event::RoomSubject( + from.to_bare(), + from.resource_str().map(String::from), + subject.0.clone(), + )); } if let Some((_lang, body)) = message.get_best_body(langs) {