From 1157dc7dc8544b190004bd014ee85c6e5e0441f3 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 7 Sep 2023 19:55:15 +0000 Subject: make sure to set the other relevant dates aswell to omit discrepancies if they would be set a splitsecond later when we store the item --- Zotlabs/Module/Like.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php index 5779faa19..54daf6471 100644 --- a/Zotlabs/Module/Like.php +++ b/Zotlabs/Module/Like.php @@ -554,7 +554,14 @@ class Like extends Controller { $arr['deny_cid'] = $deny_cid; $arr['deny_gid'] = $deny_gid; $arr['item_private'] = $private; - $arr['created'] = datetime_convert(); + + $created = datetime_convert(); + + $arr['created'] = $created; + $arr['edited'] = $created; + $arr['commented'] = $created; + $arr['received'] = $created; + $arr['changed'] = $created; call_hooks('post_local', $arr); -- cgit v1.2.3