diff options
-rw-r--r-- | lib/MaildirIndexer/Index/ByAddresses.rakumod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MaildirIndexer/Index/ByAddresses.rakumod b/lib/MaildirIndexer/Index/ByAddresses.rakumod index 7ee2f96..d9fd945 100644 --- a/lib/MaildirIndexer/Index/ByAddresses.rakumod +++ b/lib/MaildirIndexer/Index/ByAddresses.rakumod @@ -46,7 +46,7 @@ method add-mail(MaildirIndexer::Email:D $email, Str:D $mailbox --> Nil) { method del-path(IO:D $file, Str:D $mailbox --> Nil) { MaildirIndexer::LogTimelineSchema::Index::Rm.log: :class('ByAddresses'),:$mailbox, -> { - my Str @addresses = |%!addresses-for-file{$file.path}:delete or return; + my Str (@addresses,) = %!addresses-for-file{$file.path}:delete or return; self.account-for(@addresses,$mailbox,-1); |