aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-11 11:13:06 +0000
committerMario <mario@mariovavti.com>2021-02-11 11:13:06 +0000
commit6f520cadb7dd34c551e20ff32e8c8f6335824a8a (patch)
tree6c477cf2aebce15c92284b6be28cef606126c225
parentbecdd642571d8e62e789693efbd571566f9641ed (diff)
downloadvolse-hubzilla-6f520cadb7dd34c551e20ff32e8c8f6335824a8a.tar.gz
volse-hubzilla-6f520cadb7dd34c551e20ff32e8c8f6335824a8a.tar.bz2
volse-hubzilla-6f520cadb7dd34c551e20ff32e8c8f6335824a8a.zip
actor will be stored in the next step decode_note()
-rw-r--r--Zotlabs/Lib/Activity.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index abb28fc64..3965aa1e3 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -2094,6 +2094,7 @@ class Activity {
$obj_actor = ((isset($act->obj['actor'])) ? $act->obj['actor'] : $act->get_actor('attributedTo', $act->obj));
// ensure we store the original actor
+
self::actor_store($obj_actor['id'], $obj_actor);
$mention = self::get_actor_bbmention($obj_actor['id']);
@@ -2817,9 +2818,6 @@ class Activity {
logger('not a valid activity');
break;
}
- if (is_array($a->actor) && array_key_exists('id', $a->actor)) {
- Activity::actor_store($a->actor['id'], $a->actor);
- }
$item = Activity::decode_note($a);