[Telepathy] [Bug 13422] TpConnection should give TpChannel objects

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 24 05:34:15 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=13422


Simon McVittie <simon.mcvittie at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk>  2008-01-24 05:34:15 PST ---
1) WONTFIX. Creating a TpChannel signifies that you care about the channel, and
causes automatic introspection stuff to run. It's wasteful and possibly
actively harmful to do this for channels you don't care about. The handler for
NewChannel, provided by the user of telepathy-glib, should decide whether it
cares about the channel; if yes, *then* it should create a TpChannel.

2) WONTFIX. Likewise.

(It could be interesting for the TpConnection to cache weak references so it
will only ever create a new TpChannel if there was no existing TpChannel, but
I'm not sure that's worth the effort; it still wouldn't be a guarantee that
every distinct TpChannel represents a distinct TpConnection, unless
TpConnection also had some sort of weak-ref-based uniquification. I'm undecided
about this.)

3) Entirely reasonable.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Telepathy mailing list