Skip to content

Commit

Permalink
Make deserialization repeatable (#6993)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles authored Dec 5, 2024
1 parent b67c71d commit 5fc7651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/canisters/community/impl/src/model/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand All @@ -24,7 +24,7 @@ pub struct CommunityEvents {

#[derive(Serialize, Deserialize)]
pub struct CommunityEventsPrevious {
events_map: BTreeMap<EventIndex, EventWrapper<CommunityEventInternalOld>>,
events_map: BTreeMap<EventIndex, EventWrapperInternal<CommunityEventInternalOld>>,
}

#[derive(Serialize, Deserialize, Clone, Debug)]
Expand Down

0 comments on commit 5fc7651

Please sign in to comment.