From 982e3b2dec6701e76ff820a5f63489ea48f95333 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Tue, 3 May 2016 15:27:53 -0700 Subject: [PATCH] fix(unsubscribe): Leave canTrashThreads for now, in use by plugins --- src/mailbox-perspective.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mailbox-perspective.coffee b/src/mailbox-perspective.coffee index de5070d3d..b0d08e89c 100644 --- a/src/mailbox-perspective.coffee +++ b/src/mailbox-perspective.coffee @@ -146,6 +146,9 @@ class MailboxPerspective accounts = AccountStore.accountsForItems(threads) return _.every(accounts, (acc) -> acc.canArchiveThreads()) + canTrashThreads: (threads) => + @canMoveThreadsTo(threads, 'trash') + canMoveThreadsTo: (threads, standardCategoryName) => return false if @categoriesSharedName() is standardCategoryName return _.every AccountStore.accountsForItems(threads), (acc) ->