conf: newmail_hook is a remote option

Improve documentation.

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht
2016-05-12 18:04:41 +02:00
parent a1f40af033
commit 14ef992444
2 changed files with 15 additions and 13 deletions

View File

@ -883,10 +883,10 @@ class BaseFolder(object):
for thread in threads:
thread.join()
# Execute new mail hook if we have new mail
# Execute new mail hook if we have new mail.
if self.have_newmail:
if self.newmail_hook != None:
self.newmail_hook();
self.newmail_hook()
def __syncmessagesto_delete(self, dstfolder, statusfolder):
"""Pass 2: Remove locally deleted messages on dst.