diff --git a/src/components/user/User.tsx b/src/components/user/User.tsx index 9796d55..6fef8ef 100644 --- a/src/components/user/User.tsx +++ b/src/components/user/User.tsx @@ -164,6 +164,10 @@ const User: Component = (props) => { defaultUserDocument ); + const otherUserId = userId(subscription.username, data('database')); + await del(`${currentUserId}=>${otherUserId}`, '_replicator'); + await del(`${otherUserId}=>${currentUserId}`, '_replicator'); + console.log({ caller: 'User / submitHandler / deleted subscription', username: subscription.username,