aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-26 00:14:17 -0800
committerfriendica <info@friendica.com>2013-12-26 00:14:17 -0800
commit152ed9637926f478a6d15a29950f085117172a6f (patch)
treeb7cda964ab1dc86232a15eb1105c550b53a21aa9 /include/zot.php
parentf133218b33f0c7f9e4234aa2f4f85ae984ac726d (diff)
downloadvolse-hubzilla-152ed9637926f478a6d15a29950f085117172a6f.tar.gz
volse-hubzilla-152ed9637926f478a6d15a29950f085117172a6f.tar.bz2
volse-hubzilla-152ed9637926f478a6d15a29950f085117172a6f.zip
issue #230 - deletion failure in multiple delivery chains
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 9d3e66e40..9d6f462fe 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1384,7 +1384,7 @@ function process_delivery($sender,$arr,$deliveries,$relay) {
if((x($arr,'obj_type')) && (activity_match($arr['obj_type'],ACTIVITY_OBJ_EVENT))) {
require_once('include/event.php');
$ev = bbtoevent($arr['body']);
- if(x($ev,'desc') && x($ev,'start')) {
+ if(x($ev,'desc') && x($ev,'start')) {
$ev['event_xchan'] = $arr['author_xchan'];
$ev['uid'] = $channel['channel_id'];
$ev['account'] = $channel['channel_account_id'];
@@ -1539,6 +1539,9 @@ function delete_imported_item($sender,$item,$uid) {
require_once('include/items.php');
drop_item($r[0]['id'],false);
+
+ tag_deliver($uid,$r[0]['id']);
+
return $r[0]['id'];
}