Fetch channel members before constructing channel mgmt modal
This commit is contained in:
parent
6c4964f071
commit
9a1dd0c6bc
3 changed files with 19 additions and 10 deletions
|
@ -123,7 +123,7 @@ impl ChannelStore {
|
|||
pub fn get_channel_members(
|
||||
&self,
|
||||
channel_id: ChannelId,
|
||||
) -> impl Future<Output = Result<HashMap<UserId, ChannelMemberStatus>>> {
|
||||
) -> impl 'static + Future<Output = Result<HashMap<UserId, ChannelMemberStatus>>> {
|
||||
let client = self.client.clone();
|
||||
async move {
|
||||
let response = client
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue