mirror of
https://github.com/moparisthebest/imapfilter
synced 2024-12-21 23:28:49 -05:00
Add forgotten mailbox close command.
This commit is contained in:
parent
4160f7c708
commit
f78ed3c3d7
@ -367,6 +367,8 @@ function Mailbox._fetch_message(self, messages)
|
||||
end
|
||||
end
|
||||
|
||||
if options.close == true then self._cached_close(self) end
|
||||
|
||||
return results
|
||||
end
|
||||
|
||||
@ -1060,6 +1062,8 @@ function Mailbox.enter_idle(self)
|
||||
local r = ifcore.idle(self._account._session)
|
||||
if r == nil then error("idle request failed", 0) end
|
||||
|
||||
if options.close == true then self._cached_close(self) end
|
||||
|
||||
return r
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user