Update unread flag when saving duplicate URL (#306)

Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
This commit is contained in:
Sascha Ißbrücker
2022-07-26 00:13:41 +02:00
committed by GitHub
parent 3ac35677d8
commit e6718be53b
3 changed files with 69 additions and 32 deletions

View File

@@ -116,6 +116,7 @@ def untag_bookmarks(bookmark_ids: [Union[int, str]], tag_string: str, current_us
def _merge_bookmark_data(from_bookmark: Bookmark, to_bookmark: Bookmark):
to_bookmark.title = from_bookmark.title
to_bookmark.description = from_bookmark.description
to_bookmark.unread = from_bookmark.unread
def _update_website_metadata(bookmark: Bookmark):