diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-25 20:43:24 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-25 20:43:24 -0700 |
commit | bd83936e5dfa3f39f382e9b52f3cb28e19d5c2d0 (patch) | |
tree | b78ccc5c57dd643b83d1435c942a34b9a8e98e98 /Zotlabs/Module | |
parent | 88a68b941ff2c8295ac5a6f221855bc4940ddb40 (diff) | |
download | volse-hubzilla-bd83936e5dfa3f39f382e9b52f3cb28e19d5c2d0.tar.gz volse-hubzilla-bd83936e5dfa3f39f382e9b52f3cb28e19d5c2d0.tar.bz2 volse-hubzilla-bd83936e5dfa3f39f382e9b52f3cb28e19d5c2d0.zip |
send "hidden" edit activities to networks which don't support edits themselves
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Editpost.php | 1 | ||||
-rw-r--r-- | Zotlabs/Module/Item.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Editpost.php b/Zotlabs/Module/Editpost.php index 2c57cde5a..5c04653b8 100644 --- a/Zotlabs/Module/Editpost.php +++ b/Zotlabs/Module/Editpost.php @@ -85,6 +85,7 @@ class Editpost extends \Zotlabs\Web\Controller { 'hide_voting' => true, 'hide_future' => true, 'hide_location' => true, + 'parent' => (($itm[0]['mid'] === $itm[0]['parent_mid']) ? 0 : $itm[0]['parent']), 'mimetype' => $itm[0]['mimetype'], 'ptyp' => $itm[0]['obj_type'], 'body' => htmlspecialchars_decode(undo_post_tagging($itm[0]['body']),ENT_COMPAT), diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index bcbdcb9e9..344e839f4 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -901,7 +901,7 @@ class Item extends \Zotlabs\Web\Controller { $x = item_store_update($datarray,$execflag); - // item_create_edit_activity($x); + item_create_edit_activity($x); if(! $parent) { $r = q("select * from item where id = %d", |