Skip to content

Commit

Permalink
Fix local_user_index_canister_id in community summaries (#5060)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles authored Dec 20, 2023
1 parent 8677d3e commit 5118c7f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/canisters/user/impl/src/model/community.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 5118c7f

Please sign in to comment.