diff options
-rw-r--r-- | service/pixelated/adapter/mail_service.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/adapter/mail_service.py b/service/pixelated/adapter/mail_service.py index 2c67ae2d..7f0d111b 100644 --- a/service/pixelated/adapter/mail_service.py +++ b/service/pixelated/adapter/mail_service.py @@ -39,8 +39,8 @@ class MailService: def update_tags(self, mail_id, new_tags): mail = self.mail(mail_id) - added, removed = mail.update_tags(new_tags) - self.mailbox.notify_tags_updated(added, removed, self.ident) + added, removed = mail.update_tags(set(new_tags)) + self.mailbox.notify_tags_updated(added, removed, mail_id) return new_tags def mail(self, mail_id): |