[ekiga] loudmouth(XMPP): ugly workaround to make gmail.com work
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] loudmouth(XMPP): ugly workaround to make gmail.com work
- Date: Tue, 5 Jun 2012 14:16:50 +0000 (UTC)
commit 7cafa15c973a26dc87e534716d6fef85f32a0fda
Author: Julien Puydt <jpuydt free fr>
Date: Tue Jun 5 16:16:30 2012 +0200
loudmouth(XMPP): ugly workaround to make gmail.com work
plugins/loudmouth/loudmouth-account.cpp | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/plugins/loudmouth/loudmouth-account.cpp b/plugins/loudmouth/loudmouth-account.cpp
index 9d62c95..b16f762 100644
--- a/plugins/loudmouth/loudmouth-account.cpp
+++ b/plugins/loudmouth/loudmouth-account.cpp
@@ -212,7 +212,13 @@ LM::Account::enable ()
xmlFree (user);
xmlFree (resource);
}
- lm_connection_set_server (connection, (const char*)server);
+
+ /* FIXME: this is an ugly workaround */
+ if (g_strcmp0 ("gmail.com", (const char*)server) == 0)
+ lm_connection_set_server (connection, "xmpp.l.google.com");
+ else
+ lm_connection_set_server (connection, (const char*)server);
+
lm_connection_set_port (connection, port);
ssl = lm_ssl_new (NULL, NULL, NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]