diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-07-11 16:11:52 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-07-11 16:11:52 +0200 |
commit | 403e90861cccecc3179e380b084238e1294fe61e (patch) | |
tree | a14f7f3710f729fb91bc2242781cc7b2623b68aa /Zotlabs/Module/Like.php | |
parent | 271ed82d0def7b658f074ada9adb1aaa51bdd507 (diff) | |
parent | 2d63bbb91e97d3a54440564620ef3093ecbe71fb (diff) | |
download | volse-hubzilla-403e90861cccecc3179e380b084238e1294fe61e.tar.gz volse-hubzilla-403e90861cccecc3179e380b084238e1294fe61e.tar.bz2 volse-hubzilla-403e90861cccecc3179e380b084238e1294fe61e.zip |
Merge red/master
Diffstat (limited to 'Zotlabs/Module/Like.php')
-rw-r--r-- | Zotlabs/Module/Like.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php index 71336e8f3..c995079ce 100644 --- a/Zotlabs/Module/Like.php +++ b/Zotlabs/Module/Like.php @@ -504,6 +504,11 @@ class Like extends \Zotlabs\Web\Controller { $post = item_store($arr); $post_id = $post['item_id']; + + // save the conversation from expiration + + if(local_channel() && array_key_exists('item',$post) && (intval($post['item']['id']) != intval($post['item']['parent']))) + retain_item($post['item']['parent']); $arr['id'] = $post_id; |