aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-05-13 21:37:33 +0200
committerMario Vavti <mario@mariovavti.com>2023-05-13 21:37:33 +0200
commit1e6408df1383993e95e56b3dfa9f7ee3f1ffdf15 (patch)
tree0931f68bc6b10993cf9fc442afbff20fccd3e5fe
parent5b80d57a542da0aa221dd69bf6c7f8d6af04956c (diff)
downloadvolse-hubzilla-1e6408df1383993e95e56b3dfa9f7ee3f1ffdf15.tar.gz
volse-hubzilla-1e6408df1383993e95e56b3dfa9f7ee3f1ffdf15.tar.bz2
volse-hubzilla-1e6408df1383993e95e56b3dfa9f7ee3f1ffdf15.zip
fix regression decoding the uuid for responses
-rw-r--r--Zotlabs/Lib/Activity.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 29986e4a5..f639b1e16 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -2226,7 +2226,6 @@ class Activity {
static function decode_note($act) {
$response_activity = false;
-
$s = [];
// These activities should have been handled separately in the Inbox module and should not be turned into posts
@@ -2305,7 +2304,7 @@ class Activity {
$response_activity = true;
$s['mid'] = $act->id;
- $s['uuid'] = ((is_array($act->data) && isset($act->data['diaspora:guid'])) ?: uuid_from_url($s['mid']));
+ $s['uuid'] = (($act->data['diaspora:guid']) ?: uuid_from_url($s['mid']));
$s['parent_mid'] = $act->objprop('id') ?: $act->obj;