Re: Remove some functions from GossipProtocol that can't be implemented in TELEPATHY

Xavier Claessens <[email protected]> Sat, 23 Dec 2006 16:09:58 +0100
Newsgroups gmane.comp.gnome.gossip.devel
Message-ID <1166886598.15960.0.camel@zdra-desktop>
* _get_default_server is used to extract the server from an ID and take
care of special cases: [email protected] 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.

_______________________________________________
Gossip-dev mailing list
[email protected]
http://lists.imendio.com/mailman/listinfo/gossip-dev
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBFjUbG6dEBUn2qPAMRAlnzAJ4rZYg94hlYTcMJsyq4jWTnI0zKDACfXbGJ
BlEwUHB6jzbEuuzFONtE7g0=
=fM9r
-----END PGP SIGNATURE-----