plugin account: bug fix profile deletion from the database + unsubscribe the contacts

This commit is contained in:
souliane 2014-03-24 16:21:14 +01:00
commit 03d4dcf029

View file

@ -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)