From f0b378c487f46a7edcae43d2d86a53c3fcec4733 Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Wed, 20 Dec 2023 13:57:56 +0000 Subject: [PATCH] Fix --- backend/canisters/user/impl/src/model/community.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/canisters/user/impl/src/model/community.rs b/backend/canisters/user/impl/src/model/community.rs index 945d49d560..5ea90260f7 100644 --- a/backend/canisters/user/impl/src/model/community.rs +++ b/backend/canisters/user/impl/src/model/community.rs @@ -1,5 +1,4 @@ use crate::model::group_chat::{GroupChat, GroupMessagesRead}; -use candid::Principal; use serde::{Deserialize, Serialize}; use std::collections::HashMap; use types::{local_user_index_canister_id, CanisterId, ChannelId, CommunityId, TimestampMillis, Timestamped}; @@ -113,7 +112,7 @@ impl Community { pub fn to_summary(&self) -> user_canister::CommunitySummary { user_canister::CommunitySummary { community_id: self.community_id, - local_user_index_canister_id: self.data.local_user_index_canister_id, + local_user_index_canister_id: self.local_user_index_canister_id, channels: self .channels .values()