From 5fc76515540bd1830e59a7cd5cad3a7da79e91ab Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Thu, 5 Dec 2024 16:38:58 +0000 Subject: [PATCH] Make deserialization repeatable (#6993) --- backend/canisters/community/impl/src/model/events.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/canisters/community/impl/src/model/events.rs b/backend/canisters/community/impl/src/model/events.rs index 078098138d..65c40a2d84 100644 --- a/backend/canisters/community/impl/src/model/events.rs +++ b/backend/canisters/community/impl/src/model/events.rs @@ -6,7 +6,7 @@ use tracing::info; use types::{ AvatarChanged, BannerChanged, ChannelDeleted, ChannelId, ChatId, CommunityMemberLeftInternal, CommunityMembersRemoved, CommunityPermissionsChanged, CommunityRoleChanged, CommunityUsersBlocked, CommunityVisibilityChanged, - DefaultChannelsChanged, EventIndex, EventWrapper, EventWrapperInternal, GroupCreated, GroupDescriptionChanged, GroupFrozen, + DefaultChannelsChanged, EventIndex, EventWrapperInternal, GroupCreated, GroupDescriptionChanged, GroupFrozen, GroupInviteCodeChanged, GroupNameChanged, GroupRulesChanged, GroupUnfrozen, MemberJoinedInternal, PrimaryLanguageChanged, TimestampMillis, UserId, UsersInvited, UsersUnblocked, }; @@ -24,7 +24,7 @@ pub struct CommunityEvents { #[derive(Serialize, Deserialize)] pub struct CommunityEventsPrevious { - events_map: BTreeMap>, + events_map: BTreeMap>, } #[derive(Serialize, Deserialize, Clone, Debug)]