🗑️ WorkerTask::GetRoomMembers isn't used, remove it

This commit is contained in:
2024-05-22 16:06:44 +02:00
parent 8c244ce4a7
commit 35e191eb62
5 changed files with 4 additions and 48 deletions

View File

@@ -44,7 +44,6 @@ pub trait RoomMessagingConsumerInterface {
#[async_trait(?Send)]
pub trait RoomMessagingProviderInterface {
async fn get_avatar(&self, id: &RoomId) -> anyhow::Result<Option<Avatar>>;
async fn get_members(&self, id: &RoomId) -> anyhow::Result<Vec<RoomMember>>;
}
#[async_trait(?Send)]

View File

@@ -7,8 +7,7 @@ use std::{
use async_trait::async_trait;
use futures::future::{join, join_all};
use matrix_sdk::ruma::OwnedRoomId;
use matrix_sdk::RoomState as MatrixRoomState;
use matrix_sdk::{ruma::OwnedRoomId, RoomState as MatrixRoomState};
use tracing::{debug, debug_span, error, instrument, trace};
use super::{