From 668d7c73ede680862118331f64156d76c9fbadec Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 24 Nov 2021 20:01:16 +0000 Subject: address issue #1651 (reload page after comment or like) --- Zotlabs/Module/Like.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Zotlabs/Module') diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php index e3fe4a954..8b36e8396 100644 --- a/Zotlabs/Module/Like.php +++ b/Zotlabs/Module/Like.php @@ -91,6 +91,12 @@ class Like extends Controller { 'id' => $arr['item']['id'], 'html' => conversation($items, $conv_mode, true, $page_mode), ]; + + // mod photos + if (isset($_REQUEST['reload']) && $_REQUEST['reload']) { + $ret['reload'] = 1; + } + return $ret; } -- cgit v1.2.3