aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-03-18 20:41:59 -0700
committerzotlabs <mike@macgirvin.com>2019-03-18 20:41:59 -0700
commit8e1f02281046d13d34a720ab5b3af7044b25fa6a (patch)
treedbb123d9ef45fc75144a3ebc7da96b4396bd717f /Zotlabs
parenta743feb04013527e2054d30c629373820f11aa27 (diff)
downloadvolse-hubzilla-8e1f02281046d13d34a720ab5b3af7044b25fa6a.tar.gz
volse-hubzilla-8e1f02281046d13d34a720ab5b3af7044b25fa6a.tar.bz2
volse-hubzilla-8e1f02281046d13d34a720ab5b3af7044b25fa6a.zip
share encoding issue between hz and zap
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Activity.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index e5a8e0075..5b9d356bb 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -527,6 +527,10 @@ class Activity {
else
return [];
+ if(strpos($i['body'],'[/share]') !== false) {
+ $i['obj'] = null;
+ }
+
if($i['obj']) {
if(! is_array($i['obj'])) {
$i['obj'] = json_decode($i['obj'],true);