use $target_item[mid] to make item highlighting work with shortened mids
This commit is contained in:
parent
27e9b5618b
commit
7b3aa92b5a
@ -135,7 +135,7 @@ class Display extends \Zotlabs\Web\Controller {
|
|||||||
$static = ((local_channel()) ? channel_manual_conv_update(local_channel()) : 1);
|
$static = ((local_channel()) ? channel_manual_conv_update(local_channel()) : 1);
|
||||||
|
|
||||||
//if the target item is not a post (eg a like) we want to address its thread parent
|
//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'] : $item_hash);
|
$mid = ((($target_item['verb'] == ACTIVITY_LIKE) || ($target_item['verb'] == ACTIVITY_DISLIKE)) ? $target_item['thr_parent'] : $target_item['mid']);
|
||||||
|
|
||||||
//if we got a decoded hash we must encode it again before handing to javascript
|
//if we got a decoded hash we must encode it again before handing to javascript
|
||||||
if($decoded)
|
if($decoded)
|
||||||
|
Reference in New Issue
Block a user