diff options
author | Mario Vavti <mario@mariovavti.com> | 2023-10-06 14:24:51 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2023-10-06 14:24:51 +0200 |
commit | 9f48109640052ec4763e68eb3dd27933f8754e4b (patch) | |
tree | fff59aba5f99ec08218ce8a75bcd84cd095b0bfc /Zotlabs/Lib | |
parent | b976adb8aa32e810aa261c34432e7efaf17cf227 (diff) | |
parent | fe38c81e074df0e1b264d6ccf0b033294439594b (diff) | |
download | volse-hubzilla-9f48109640052ec4763e68eb3dd27933f8754e4b.tar.gz volse-hubzilla-9f48109640052ec4763e68eb3dd27933f8754e4b.tar.bz2 volse-hubzilla-9f48109640052ec4763e68eb3dd27933f8754e4b.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 227739fea..36e6ecc8c 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -544,7 +544,7 @@ class Activity { $ret['commentPolicy'] .= 'until=' . datetime_convert('UTC', 'UTC', $i['comments_closed'], ATOM_TIME); } - $ret['attributedTo'] = $i['author']['xchan_url']; + $ret['attributedTo'] = self::encode_person($i['author'], false); if ($i['mid'] !== $i['parent_mid']) { $ret['inReplyTo'] = ((strpos($i['thr_parent'], 'http') === 0) ? $i['thr_parent'] : z_root() . '/item/' . urlencode($i['thr_parent'])); |