Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/server_plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/server_plugin.py')
-rw-r--r--src/server_plugin.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server_plugin.py b/src/server_plugin.py
index 75eadb2..a7571bb 100644
--- a/src/server_plugin.py
+++ b/src/server_plugin.py
@@ -146,7 +146,9 @@ class ServerPlugin(TelepathyPlugin):
For the moment we assume that the test server, olpc.collabora.co.uk,
does this verification.
"""
- return (hostname == 'olpc.collabora.co.uk')
+ # FIXME: just trusting the owner's server for now
+ server = self._owner.get_server()
+ return (server and len(server) and hostname == server)
def identify_contacts(self, tp_chan, handles, identifiers=None):
"""Work out the "best" unique identifier we can for the given handles,