Browse Source

When deleting, don't send the parent via DFRN

pull/4524/head
Michael 4 years ago
parent
commit
2f121aa828
  1. 3
      src/Worker/Delivery.php

3
src/Worker/Delivery.php

@ -242,7 +242,8 @@ class Delivery {
}
if ($normal_mode) {
if ($item_id == $item['id'] || $item['id'] == $item['parent']) {
// Only add the parent when we don't delete other items.
if ($item_id == $item['id'] || (($item['id'] == $item['parent']) && ($cmd != 'drop'))) {
$item["entry:comment-allow"] = true;
$item["entry:cid"] = (($top_level) ? $contact['id'] : 0);
$msgitems[] = $item;

Loading…
Cancel
Save