aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-25 09:03:16 +0000
committerMario <mario@mariovavti.com>2021-09-25 09:03:16 +0000
commit5c179522bb00d019ec4691ffbb9b65371fc0f309 (patch)
treeeeb576a1c5699dd0f76c8dfa76173e236abb2435 /Zotlabs/Lib
parentb35d95da5299ccce9ad79661cf384d3bab514ca6 (diff)
downloadvolse-hubzilla-5c179522bb00d019ec4691ffbb9b65371fc0f309.tar.gz
volse-hubzilla-5c179522bb00d019ec4691ffbb9b65371fc0f309.tar.bz2
volse-hubzilla-5c179522bb00d019ec4691ffbb9b65371fc0f309.zip
bring back externals (slightly different approach), rename zotfeed to outbox for consistency wit AP naming. warning: this commit requires update of addons!
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index a0a9a7c7f..fe1e89851 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -2162,9 +2162,11 @@ class Activity {
if (array_key_exists('published', $act->data)) {
$s['created'] = datetime_convert('UTC', 'UTC', $act->data['published']);
+ $s['commented'] = $s['created'];
}
elseif (array_key_exists('published', $act->obj)) {
$s['created'] = datetime_convert('UTC', 'UTC', $act->obj['published']);
+ $s['commented'] = $s['created'];
}
if (array_key_exists('updated', $act->data)) {
$s['edited'] = datetime_convert('UTC', 'UTC', $act->data['updated']);