telepathy-gabble: Protocol: implement the "account-path-suffix" connection parameter

Xavier Claessens xclaesse at kemper.freedesktop.org
Mon Feb 17 22:08:14 CET 2014


Module: telepathy-gabble
Branch: master
Commit: d969e9589601b45bfaab65ad545d624668517557
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=d969e9589601b45bfaab65ad545d624668517557

Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date:   Fri Jan 24 16:34:21 2014 -0500

Protocol: implement the "account-path-suffix" connection parameter

---

 src/protocol.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/protocol.c b/src/protocol.c
index d89b8a1..ce2f59b 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -181,6 +181,9 @@ static TpCMParamSpec jabber_params[] = {
   { "extra-certificate-identities", "as", 0,
     0, NULL, 0 /* unused */, NULL, NULL },
 
+  { "account-path-suffix", "s", G_TYPE_STRING,
+    0, NULL, 0 /* unused */, NULL, NULL },
+
   { NULL, NULL, 0, 0, NULL, 0 }
 };
 
@@ -277,6 +280,8 @@ new_connection (TpBaseProtocol *protocol,
   conn = g_object_new (GABBLE_TYPE_CONNECTION,
                        "protocol", PROTOCOL_NAME,
                        "password", tp_asv_get_string (params, "password"),
+                       "account-path-suffix", tp_asv_get_string (params,
+                           "account-path-suffix"),
                        NULL);
 
   /* split up account into username, stream-server and resource */



More information about the telepathy-commits mailing list