+ $item['plink'], $item['created'], $item['guid']) . $item['body'] . '[/share]';
+ }
+ }
+
+ /*
+ /// @todo This code should be activated by the end of the year 2020
+ // See also "tagDeliver";
+ // In case of a forum post ensure to return the original post if author and forum are on the same machine
+ if (!empty($item['forum_mode'])) {
+ $author = Contact::getById($item['author-id'], ['nurl']);
+ if (!empty($author['nurl'])) {
+ $self = Contact::selectFirst(['uid'], ['nurl' => $author['nurl'], 'self' => true]);
+ if (!empty($self['uid'])) {
+ $item = Item::selectFirst([], ['uri-id' => $item['uri-id'], 'uid' => $self['uid']]);
+ }