[Bug 34071] RCC should contain one RoomList entry per supported server

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 11 19:10:12 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=34071

--- Comment #2 from Will Thompson <will.thompson at collabora.co.uk> 2011-02-11 10:10:11 PST ---
(In reply to comment #1)
> I'm trying to implement this but TpChannelManagerTypeForeachChannelClassFunc
> doesn't give us the self pointer of the manager, so we can't get the default
> server with _gabble_connection_find_conference_server(); which is pretty
> annoying. :\

That's because TpChannelManager *Type* ForeachChannelClassFunc is a 'static'
version (in Java terms): it operates on the type, not on instances of it.

Gabble could also implement 
TpChannelManagerForeachChannelClassFunc foreach_channel_class; which does give
you the self pointer. This would mean we'd have more classes once connected,
which is correct!

(However… I think RequestableChannelClasses can't change once you're connected,
so I suppose we'd have to not signal Connected till we've discovered the
conference servers… which would be unhappymaking.)

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


More information about the telepathy-bugs mailing list