Commit d969e958 authored by Xavier Claessens's avatar Xavier Claessens

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

parent cf3bc76f
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment