aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-07 14:40:11 -0700
committerMario Vavti <mario@mariovavti.com>2017-05-08 11:12:09 +0200
commit40c8549cf5438aa12db68c6ec2c98493f6707bda (patch)
tree32687a343e5fc871a5260cbfe4047ea7bd3f4689 /Zotlabs/Module
parenta7ea370ec3c18b102a6a6a70b770adc16fdb0aa2 (diff)
downloadvolse-hubzilla-40c8549cf5438aa12db68c6ec2c98493f6707bda.tar.gz
volse-hubzilla-40c8549cf5438aa12db68c6ec2c98493f6707bda.tar.bz2
volse-hubzilla-40c8549cf5438aa12db68c6ec2c98493f6707bda.zip
get rid of edit activities
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Item.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php
index 9fddafee6..ec36c22d8 100644
--- a/Zotlabs/Module/Item.php
+++ b/Zotlabs/Module/Item.php
@@ -860,7 +860,17 @@ class Item extends \Zotlabs\Web\Controller {
$x = item_store_update($datarray,$execflag);
- item_create_edit_activity($x);
+ // We only need edit activities for other federated protocols
+ // which do not support edits natively. While this does federate
+ // edits, it presents a number of issues locally - such as #757 and #758.
+ // The SQL check for an edit activity would not perform that well so to fix these issues
+ // requires an additional item flag (perhaps 'item_edit_activity') that we can add to the
+ // query for searches and notifications.
+
+ // For now we'll just forget about trying to make edits work on network protocols that
+ // don't support them.
+
+ // item_create_edit_activity($x);
if(! $parent) {
$r = q("select * from item where id = %d",