Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2008-02-07 16:02:22 (GMT)
committer Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>2008-02-07 16:02:22 (GMT)
commit7e5d8a617c5aba554532662dc2f35d850816eb59 (patch)
tree9f28750bb4ea4cf9606a5a2ec291f0455c68aab4
parent39569bc26b2aadbc437e7593b51dc649616072ed (diff)
add some words about the register flag
-rw-r--r--src/server_plugin.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/server_plugin.py b/src/server_plugin.py
index a80ba9c..4a32042 100644
--- a/src/server_plugin.py
+++ b/src/server_plugin.py
@@ -306,7 +306,11 @@ class ServerPlugin(TelepathyPlugin):
"""Override TelepathyPlugin implementation to manage connection errors
due to authentication problem. If the connection fails because of an
authentication error that's probably because the account isn't
- registered yet on the server. So we try to register it."""
+ registered yet on the server. So we try to register it.
+ If it fails because any other reason we unset the register flag so futur
+ connection attempts won't try to register until we got a new
+ authentication error. This should properly handle the "XO having to use
+ different jabber servers" use case."""
if status == self._conn_status:
return