plugin account: bug fix profile deletion from the database + unsubscribe the contacts
This commit is contained in:
parent
10aa504a7a
commit
03d4dcf029
1 changed files with 20 additions and 3 deletions
|
|
@ -84,7 +84,7 @@ class SatXMPPClient(client.XMPPClient):
|
|||
self.conn_deferred.callback(None)
|
||||
|
||||
def initializationFailed(self, reason):
|
||||
print "initializationFailed: %s" % reason
|
||||
error(_("ERROR: XMPP connection failed for profile '%(profile)s': %(reason)s" % {'profile': self.profile, 'reason': reason}))
|
||||
self.host_app.bridge.connectionError("AUTH_ERROR", self.profile)
|
||||
try:
|
||||
client.XMPPClient.initializationFailed(self, reason)
|
||||
|
|
|
|||
Loading…
Reference in a new issue