Execute `postsynchook` after IDLE-Sync
This commit is contained in:
parent
a73b4b3465
commit
5d2ef5ab28
|
@ -511,6 +511,8 @@ class IdleThread(object):
|
|||
remotefolder = remoterepos.getfolder(self.folder)
|
||||
offlineimap.accounts.syncfolder(account, remotefolder, quick=False)
|
||||
ui = getglobalui()
|
||||
hook = account.getconf('postsynchook', '')
|
||||
account.callhook(hook)
|
||||
ui.unregisterthread(currentThread()) #syncfolder registered the thread
|
||||
|
||||
def idle(self):
|
||||
|
|
Loading…
Reference in New Issue