diff --git a/pkg/arvo/app/contact-push-hook.hoon b/pkg/arvo/app/contact-push-hook.hoon index 32b2208204..165132ad46 100644 --- a/pkg/arvo/app/contact-push-hook.hoon +++ b/pkg/arvo/app/contact-push-hook.hoon @@ -46,6 +46,7 @@ =/ =share !<(share vase) :_ this :_ ~ ?: =(our.bowl src.bowl) + ?< =(ship.share our.bowl) :: proxy poke %+ poke:pass:io [ship.share dap.bowl] contact-share+!>([%share our.bowl]) diff --git a/pkg/interface/src/views/apps/chat/components/ShareProfile.js b/pkg/interface/src/views/apps/chat/components/ShareProfile.js index 6356df8d9a..8e6ba5ff0d 100644 --- a/pkg/interface/src/views/apps/chat/components/ShareProfile.js +++ b/pkg/interface/src/views/apps/chat/components/ShareProfile.js @@ -101,7 +101,9 @@ export const ShareProfile = (props) => { } else if (!group.hidden) { const [,,ship,name] = groupPath.split('/'); await api.contacts.allowGroup(ship,name); - await api.contacts.share(ship); + if(ship !== `~${window.ship}`) { + await api.contacts.share(ship); + } setShowBanner(false); } };