ShareProfile: only share if we arent recipient
@@ -101,7 +101,9 @@ export const ShareProfile = (props) => {
} else if (!group.hidden) {
const [,,ship,name] = groupPath.split('/');
await api.contacts.allowGroup(ship,name);
+ if(ship !== `~${window.ship}`) {
await api.contacts.share(ship);
+ }
setShowBanner(false);
}
};
