[Gossip-dev] Remove some functions from GossipProtocol that can't be implemented in TELEPATHY

Xavier Claessens xclaesse at gmail.com
Sat Dec 23 16:09:58 CET 2006


* _get_default_server is used to extract the server from an ID and take
care of special cases: user at gmail.com has talk.google.com server, this
kind of conversion can't be done in the telepathy protocol since this is
a generic protocol for more than one real protocol. GossipTelepathy is
used for either msn, jabber, etc. The only place we have real protocol
depend code is in the UI (gossip-account-widget-*.c). I think the
gmail.com -> talk.google.com conversion is only useful in the jabber
settings widget. This conversion is something needed in gossip-tp and
the only way is to put it in the UI, or someone has suggestions ?

* _get_default_port is also something users really need. It returns the
port depending on SSL. I think we only need that for the jabber settings
widget and it depends on the protocol. It can't be done in the telepathy
protocol (AFAIK) because the telepathy protocol doesn't know if it's a
jabber or msn or whatever the real protocol is.

I really want to fix those 2 points, for others it's not very important.

For get_example_* maybe it make sense to have something in the telepathy
spec to get an example for each parameter.

Xavier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.imendio.com/pipermail/gossip-dev/attachments/20061223/2fa5133c/attachment.pgp


More information about the Gossip-dev mailing list