Summary: | Implement ServerTLSConnection.ReferenceIdentities in gabble | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Stef Walter <stefw> |
Component: | gabble | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | sjoerd, stefw |
Version: | git master | Keywords: | patch |
Hardware: | Other | ||
OS: | All | ||
URL: | http://git.collabora.co.uk/?p=user/stefw/telepathy-gabble.git;a=shortlog;h=refs/heads/reference-identities | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | 35395, 35408 | ||
Bug Blocks: | 35415 |
Description
Stef Walter
2011-03-18 02:49:24 UTC
In the future we may choose to have an explicit account parameter which provides additional reference identities. This could be useful so that when the user chooses GTalk from the account type listing, we automatically add talk.google.com to the list of additional reference identities. Note that we would checking the certificate identity against a the user's choice or configuration in this case, and as such it is a valid reference identity. This is similar but not directly related to how we add fallback servers for GTalk. However this patch does not add support for these additional reference identities at this point. Comments from sjoerd: <sjoerd> stefw: yeah having the account parameters set two connection time options is quite confusing as well <stefw> sjoerd: i don't mind changing it. we need some way to bring over the user's explicit server override. <sjoerd> we should just always have explicit-server in connection.c the only thing the user sets and have connect server pick that up :) <stefw> alright <sjoerd> and have connect-server be read-only and the server we're connected to <stefw> will do. Made changes and pushed to my reference-identities branch. Added test. Sadly can't test the case where server is not specified, as that doesn't work with the tests. Looks good. Just one question really. + /* And secondly the an explicitly overridden server */ + connect_server = NULL; + g_object_get (tp_base_channel_get_connection (TP_BASE_CHANNEL (self)), + "connect-server", &connect_server, "explicit-server", &explicit_server, + NULL); Why do you set connect_server to NULL but not explicit_server? Am I missing something. Also, please have these on different lines so you have: "property-name", &location_to_store, "property-name", &location_to_store, Also the comment English is a little broken. Thanks Jonny. Done. Could you help me merge this? Hopefully after this I can request my telepathy group permissions. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.