diff options
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/adapter/pixelated_mailboxes.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/service/pixelated/adapter/pixelated_mailboxes.py b/service/pixelated/adapter/pixelated_mailboxes.py index aa9015e5..e8b302a7 100644 --- a/service/pixelated/adapter/pixelated_mailboxes.py +++ b/service/pixelated/adapter/pixelated_mailboxes.py @@ -40,8 +40,9 @@ class PixelatedMailBoxes(): mail.remove_all_tags() origin_mailbox = mail.mailbox_name + new_mail_id = self.trash().add(mail) self._create_or_get(origin_mailbox).remove(mail) - return self.trash().add(mail) + return new_mail_id def mail(self, mail_id): for mailbox in self.mailboxes: |