# HG changeset patch # User Goffi # Date 1386953195 -3600 # Node ID fe05afc3f0df09cdc2bf8b672692feaaa89e6b33 # Parent ffc3ddcdaf48316b23f56e9b7b15a495b285f793 reverted last commit diff -r ffc3ddcdaf48 -r fe05afc3f0df src/plugins/plugin_misc_account.py --- a/src/plugins/plugin_misc_account.py Fri Dec 13 17:40:48 2013 +0100 +++ b/src/plugins/plugin_misc_account.py Fri Dec 13 17:46:35 2013 +0100 @@ -143,8 +143,8 @@ reactor.spawnProcess(prosody_reg, prosody_exe, [prosody_exe, 'adduser', "%s@%s" % (profile, self.getConfig('new_account_domain'))], path=self._prosody_path) d.addCallback(self._sendEmails, profile, email, password) - # d.addCallback(lambda ignore: None) # no need to wait for the emails - # return d + d.addCallback(lambda ignore: None) + return d def _sendEmails(self, result, login, email, password): #time to send the email