[Bug 30338] TpRoomList - High level API for RoomList channel
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Apr 27 11:03:28 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=30338
--- Comment #18 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> 2012-04-27 02:03:28 PDT ---
(In reply to comment #17)
> > > simple-conn.c:
> > >
> > > - chan = g_hash_table_lookup (self->priv->channels, GUINT_TO_POINTER (0));
> > > WTF using 0 as key?? is that really on purpose?
> >
> > Yeah, room list channel has None as HandleType so no Handle either.
>
> Hm, tbh I don't like this, it means it will fail badly if we add other channels
> with handle==0 like MSN-like MUCs, etc... Also the comment in the priv struct
> says /* TpHandle => reffed TpTestsTextChannelNull */ which is wrong now... tbh
> I would keep a separate TpTestsRoomListChan* field in priv struct and maybe
> rename channels to text_channels?
done.
--
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