aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Share.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-02-07 14:38:05 -0800
committerzotlabs <mike@macgirvin.com>2019-02-07 14:38:05 -0800
commit317c53acf6b74a4f92284074017985fb09662a46 (patch)
treef7a6f35604bed1dca48b5425e5fd7a34b9a2a2b8 /Zotlabs/Module/Share.php
parentf02af5fe6ea9e86a99e6e1ae5a7057350bb7224a (diff)
downloadvolse-hubzilla-317c53acf6b74a4f92284074017985fb09662a46.tar.gz
volse-hubzilla-317c53acf6b74a4f92284074017985fb09662a46.tar.bz2
volse-hubzilla-317c53acf6b74a4f92284074017985fb09662a46.zip
disable repeat unless mid is a resolvable uri since this will do radically different things on different network stacks (e.g. Diaspora) and it turns out there is no possible way to make Diaspora reshares compatible with ActivityPub or Zot6 repeat/announce/boost/whatever.
Diffstat (limited to 'Zotlabs/Module/Share.php')
-rw-r--r--Zotlabs/Module/Share.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/Zotlabs/Module/Share.php b/Zotlabs/Module/Share.php
index cca72f12f..53a06b072 100644
--- a/Zotlabs/Module/Share.php
+++ b/Zotlabs/Module/Share.php
@@ -51,11 +51,6 @@ class Share extends \Zotlabs\Web\Controller {
if($r[0]['mimetype'] !== 'text/bbcode')
killme();
-
- if(strpos($r[0]['mid'],'http') === false) {
- notice( t('Source message cannot be repeated. Sharing instead.') . EOL);
- goaway(z_root() . '/embed/' . argv(1));
- }
xchan_query($r);