style: Fix large future clippy error

This commit is contained in:
timedout
2026-04-07 18:21:18 +01:00
committed by Ellis Git
parent 36c32938ae
commit 189ed1c394
+2 -2
View File
@@ -6,7 +6,7 @@ use std::{
use askama::Template;
use async_trait::async_trait;
use conduwuit::{Result, info, utils::ReadyExt};
use futures::StreamExt;
use futures::{FutureExt, StreamExt};
use ruma::{UserId, events::room::message::RoomMessageEventContent};
use crate::{
@@ -133,7 +133,7 @@ impl Service {
return Ok(false);
}
self.services.admin.make_user_admin(user).await?;
self.services.admin.make_user_admin(user).boxed().await?;
// Send the welcome message
let welcome_message = WelcomeMessage {