From 5fc486a84f2ebd5d03120766241dcabff03ae5ea Mon Sep 17 00:00:00 2001 From: Marco Nassabain Date: Tue, 26 Jan 2021 16:24:02 +0100 Subject: =?UTF-8?q?=F0=9F=94=A5=20shareItem:=20set=20unread=20=3D=20true?= =?UTF-8?q?=20for=20shared=20article?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marco Nassabain --- lib/Db/ItemMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Db') diff --git a/lib/Db/ItemMapper.php b/lib/Db/ItemMapper.php index f8cc9c4fb..9420395c3 100644 --- a/lib/Db/ItemMapper.php +++ b/lib/Db/ItemMapper.php @@ -552,7 +552,7 @@ class ItemMapper extends NewsMapper $newItem = Item::fromImport($item->jsonSerialize()); // copy/initialize fields - $newItem->setUnread(false); + $newItem->setUnread(true); $newItem->setStarred(false); $newItem->setFeedId(null); $newItem->setFingerprint($item->getFingerprint()); -- cgit v1.2.3