aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Hq.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-11-22 14:11:26 +0000
committerMario <mario@mariovavti.com>2019-11-22 14:11:26 +0000
commitb62eb665c5ad12ec7bde6bace71a0ddbb6aac28d (patch)
treee7be91535e9bb359a9199c5c28daa74d5242e178 /Zotlabs/Module/Hq.php
parentc72716eca77d548b457621b004206aa51240464d (diff)
downloadvolse-hubzilla-b62eb665c5ad12ec7bde6bace71a0ddbb6aac28d.tar.gz
volse-hubzilla-b62eb665c5ad12ec7bde6bace71a0ddbb6aac28d.tar.bz2
volse-hubzilla-b62eb665c5ad12ec7bde6bace71a0ddbb6aac28d.zip
sse: store the item mid plus reactions mids in data-mids and change functions accordingly
Diffstat (limited to 'Zotlabs/Module/Hq.php')
-rw-r--r--Zotlabs/Module/Hq.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Hq.php b/Zotlabs/Module/Hq.php
index 848fe3e25..d8c540fb9 100644
--- a/Zotlabs/Module/Hq.php
+++ b/Zotlabs/Module/Hq.php
@@ -152,8 +152,8 @@ class Hq extends \Zotlabs\Web\Controller {
if($target_item) {
// if the target item is not a post (eg a like) we want to address its thread parent
- $mid = ((($target_item['verb'] == ACTIVITY_LIKE) || ($target_item['verb'] == ACTIVITY_DISLIKE)) ? $target_item['thr_parent'] : $target_item['mid']);
-
+ //$mid = ((($target_item['verb'] == ACTIVITY_LIKE) || ($target_item['verb'] == ACTIVITY_DISLIKE)) ? $target_item['thr_parent'] : $target_item['mid']);
+ $mid = $target_item['mid'];
// if we got a decoded hash we must encode it again before handing to javascript
if($decoded)
$mid = 'b64.' . base64url_encode($mid);