]> git.mxchange.org Git - friendica.git/commitdiff
Wall postings need to be treated especially as well.
authorMichael <heluecht@pirati.ca>
Wed, 17 Jan 2018 14:09:24 +0000 (14:09 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 17 Jan 2018 14:09:24 +0000 (14:09 +0000)
src/Model/Item.php

index 4e8ac6ac7f4bd3e351a6031e31b044fc08ec9704..aa7f7f4282b5df6d7e2bce86c1bef2668849bfa9 100644 (file)
@@ -119,7 +119,7 @@ class Item
                }
 
                // When it is our item we don't delete it here, since we have to send delete messages
-               if ($item['origin']) {
+               if ($item['origin'] || $item['wall']) {
                        // Set the item to "deleted"
                        dba::update('item', ['deleted' => true, 'title' => '', 'body' => '',
                                                'edited' => datetime_convert(), 'changed' => datetime_convert()],