From aa5d6da0da4be67d227bfeac40c26a82ff715c1d Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Sat, 6 Feb 2016 11:28:14 -0800 Subject: [PATCH] fix(remove-from-trash): Fixes Sentry #11551 --- src/mailbox-perspective.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mailbox-perspective.coffee b/src/mailbox-perspective.coffee index ae63b8bd5..2511e548d 100644 --- a/src/mailbox-perspective.coffee +++ b/src/mailbox-perspective.coffee @@ -323,7 +323,7 @@ class CategoryMailboxPerspective extends MailboxPerspective moveToFinishedCategory: true }) else if isTrash - tasks = TaskFactory.tasksForMovingToInbox({threads, categories}) + tasks = TaskFactory.tasksForMovingToInbox({threads, fromPerspective: @}) else if isNotArchiveOrSent tasks = TaskFactory.tasksForRemovingCategories({ threads,