From 4277b0c3aa7e26d85656bbdbfd93bb4e85cbae75 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 24 Nov 2023 08:35:49 +0000 Subject: [PATCH] Issue 13607: Use privacy setting for "remote self" --- src/Model/Item.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index c3f38ca6da..27fcfcdd9b 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -2566,11 +2566,14 @@ class Item $result = self::insert($datarray2); Logger::info('remote-self post original item', ['contact' => $contact['url'], 'result' => $result, 'item' => $datarray2]); } else { - $datarray['private'] = self::PUBLIC; $datarray['app'] = 'Feed'; $result = true; } + if ($result) { + unset($datarray['private']); + } + return (bool)$result; } -- 2.39.5