diff options
author | Marco Nassabain <marco.nassabain@hotmail.com> | 2021-01-26 16:24:02 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 22:31:21 +0200 |
commit | 5fc486a84f2ebd5d03120766241dcabff03ae5ea (patch) | |
tree | 7dddc0a77bfb523aeee9b96d33fe9d47938f7b6c /lib/Db | |
parent | f2ef07c6612291742708260d072aef3848320c45 (diff) |
🔥 shareItem: set unread = true for shared article
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'lib/Db')
-rw-r--r-- | lib/Db/ItemMapper.php | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |