aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-07-18 13:02:19 +0200
committerMario Vavti <mario@mariovavti.com>2019-07-18 13:02:19 +0200
commit71056e1db11caf7b30627bbdc5c44c21405966ae (patch)
tree36cbf40e0e9961f1e69e82c800a199301b8d53ec
parentf94faeeace0df51b223f7a6da164071affc3ea37 (diff)
downloadvolse-hubzilla-71056e1db11caf7b30627bbdc5c44c21405966ae.tar.gz
volse-hubzilla-71056e1db11caf7b30627bbdc5c44c21405966ae.tar.bz2
volse-hubzilla-71056e1db11caf7b30627bbdc5c44c21405966ae.zip
fix issue with encoding hashtags and silence parent fetch logging
-rw-r--r--Zotlabs/Lib/Activity.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 8168e7354..bd84d877e 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -392,9 +392,9 @@ class Activity {
foreach($item['term'] as $t) {
switch($t['ttype']) {
case TERM_HASHTAG:
- // An id is required so if we don't have a url in the taxonomy, ignore it and keep going.
+ // href is required so if we don't have a url in the taxonomy, ignore it and keep going.
if($t['url']) {
- $ret[] = [ 'id' => $t['url'], 'name' => '#' . $t['term'] ];
+ $ret[] = [ 'type' => 'Hashtag', 'href' => $t['url'], 'name' => '#' . $t['term'] ];
}
break;
@@ -2025,7 +2025,7 @@ class Activity {
}
$a = new ActivityStreams($n);
- logger($a->debug());
+ //logger($a->debug());
if(! $a->is_valid()) {
break;