[Bug 30338] TpRoomList - High level API for RoomList channel

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 12 15:35:20 CEST 2012


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

Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://cgit.collabora.com/g
                   |                            |it/user/cassidy/telepathy-g
                   |                            |lib/log/?h=tp-room-list-303
                   |                            |38
           Keywords|                            |patch

--- Comment #5 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> 2012-04-12 06:35:20 PDT ---
http://cgit.collabora.com/git/user/cassidy/telepathy-glib/log/?h=tp-room-list-30338

Two open questions:

a) I didn't include any API to stop the listing. What about calling
StopListing() automatically when the proxy is invalidated? The requester should
close the channel anyway once it's done with it.

b) Should start_listing_async() be renamed to list_async() or something,
complete when the list operation is done (ListingRooms goes back to FALSE) and
return the  list of TpRoomInfo found. User will still have the got-rooms signal
to display rooms while they are found, but having a list API to returning any
result looks a bit weird to me.

-- 
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