From 966dd1ba649f65889d6d289e8e09360c421d935c Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Wed, 20 Dec 2023 13:55:15 +0000 Subject: [PATCH] Fix `local_user_index_canister_id` in community summaries --- backend/canisters/user/impl/src/model/community.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/canisters/user/impl/src/model/community.rs b/backend/canisters/user/impl/src/model/community.rs index a4d8638de8..945d49d560 100644 --- a/backend/canisters/user/impl/src/model/community.rs +++ b/backend/canisters/user/impl/src/model/community.rs @@ -113,7 +113,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.data.local_user_index_canister_id, channels: self .channels .values()