aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Display.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/Display.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/Display.php')
-rw-r--r--Zotlabs/Module/Display.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php
index 5983578b3..cf38aba1a 100644
--- a/Zotlabs/Module/Display.php
+++ b/Zotlabs/Module/Display.php
@@ -200,7 +200,8 @@ class Display extends \Zotlabs\Web\Controller {
// 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)