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 Morgan Collett <morgan.collett@gmail.com>2008-02-12 14:21:58 (GMT)
commit223344f4ec8d3ab83007f734d65e3d41c93ab0b8 (patch)
treeb0abfdf6045358d9298434a7179ccadf27b0aef5
parentbef5474bfe3572e0dec143d3248554ae5ff83c33 (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