fix(unsubscribe): Leave canTrashThreads for now, in use by plugins

This commit is contained in:
Ben Gotow 2016-05-03 15:27:53 -07:00
parent 8d08a85716
commit 982e3b2dec

View file

@ -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) ->