[API Change] Instant room list
tomkiewicz.groups at gmail.com
Wed Sep 12 06:19:30 EDT 2012
Yes, I think it's good approach.
2012/9/12 Eion Robb <eionrobb at gmail.com>:
> Could this be better implemented as a call similar to the get server alias
> function that's available for buddies? Or are you just talking about what
> columns are shown in the server room browser?
> On Sep 12, 2012 6:54 AM, "Tomasz Wasilczyk" <tomkiewicz.groups at gmail.com>
>> I am currently working on conferences for Gadu-Gadu protocol and it
>> turned out, there is a need for two new features in libpurple.
>> Display names vs chat room names:
>> conferences in Gadu-Gadu are identified by a single, 64-bit integer.
>> It doesn't look  really pretty, nor user-friendly. Original
>> Gadu-Gadu client uses  some chat participants to generate a name,
>> but Pidgin cannot handle it this way, because conference names
>> shouldn't change and should be unique. My idea was to provide an
>> optional "display name", used only for displaying chat name in UI. It
>> could be done just like purple_conv_chat_set_topic. Can I do it this
>> Instant room list:
>> Gadu-Gadu holds all accessible rooms list in memory, so there is no
>> need to perform any time consuming tasks to get it. That means, there
>> is no need for wait for clicking "Get list" button before displaying
>> it (more user-friendliness!). It could be performed in two ways:
>> - statically, by adding another protocol option:
>> - dynamically, by adding "gboolean
>> *(*roomlist_is_ready)(PurpleConnection *gc);" callback - it could be
>> useful for protocols like IRC, to make use of previously got list
>> Can I implement one of these?
>> Also: purple_roomlist_set_in_progress cannot be called within
>> roomlist_get_list callback (see nullprpl). Is it a bug, or feature? I
>> just want to instantly return complete room list.
>> Waiting for comments and API related decisions,
>>  http://i.imgur.com/y1YJN.png
>>  http://i.imgur.com/Qwg7a.png
>> Devel mailing list
>> Devel at pidgin.im
More information about the Devel