Change archive behavior so that when enbaled it is active for private accounts (resolves #10)

This commit is contained in:
Jon Schoning 2020-03-08 17:16:35 -05:00
parent 3aa59305a5
commit 7149aed878

View file

@ -25,7 +25,6 @@ shouldArchiveBookmark user kbid = do
(isNothing $ bookmarkArchiveHref bm) && (isNothing $ bookmarkArchiveHref bm) &&
(bookmarkShared bm) (bookmarkShared bm)
&& not (_isArchiveBlacklisted bm) && not (_isArchiveBlacklisted bm)
&& not (userPrivacyLock user)
&& userArchiveDefault user && userArchiveDefault user
archiveBookmarkUrl :: Key Bookmark -> String -> Handler () archiveBookmarkUrl :: Key Bookmark -> String -> Handler ()