diff --git a/backend/canisters/user/impl/src/model/community.rs b/backend/canisters/user/impl/src/model/community.rs index a4d8638de8..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: Principal::anonymous(), + local_user_index_canister_id: self.local_user_index_canister_id, channels: self .channels .values()