aboutsummaryrefslogtreecommitdiffstats
path: root/include/feedutils.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-26 17:07:59 -0700
committerzotlabs <mike@macgirvin.com>2017-06-26 17:07:59 -0700
commit4d81c498e2f9a65eac7f71b077aa3e787d53325d (patch)
tree30310668da66965234e4cf33f7eea6b88f79d635 /include/feedutils.php
parentb0dd824dbc25e8ec12011cbc334471fc47a87735 (diff)
downloadvolse-hubzilla-4d81c498e2f9a65eac7f71b077aa3e787d53325d.tar.gz
volse-hubzilla-4d81c498e2f9a65eac7f71b077aa3e787d53325d.tar.bz2
volse-hubzilla-4d81c498e2f9a65eac7f71b077aa3e787d53325d.zip
in gnu-social reshare objects are activities, not posts or comments
Diffstat (limited to 'include/feedutils.php')
-rw-r--r--include/feedutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/feedutils.php b/include/feedutils.php
index b785bd64a..7314f69a6 100644
--- a/include/feedutils.php
+++ b/include/feedutils.php
@@ -691,7 +691,7 @@ function get_atom_elements($feed, $item, &$author) {
if(array_key_exists('verb',$res) && $res['verb'] === ACTIVITY_SHARE
- && array_key_exists('obj_type',$res) && in_array($res['obj_type'], [ ACTIVITY_OBJ_NOTE, ACTIVITY_OBJ_COMMENT ] )) {
+ && array_key_exists('obj_type',$res) && in_array($res['obj_type'], [ ACTIVITY_OBJ_NOTE, ACTIVITY_OBJ_COMMENT, ACTIVITY_OBJ_ACTIVITY ] )) {
feed_get_reshare($res,$item);
}