PurplePluginProtocolInfo.get_cb_info

Andrew Victor avictor.za at gmail.com
Mon Sep 5 17:47:52 EDT 2011


hi,

I see that
    PurplePluginProtocolInfo.get_cb_info(PurpleConnection *, int,
const char *who)
is marked as deprecated.
The documentation seems to imply that you should call
get_cb_real_name() and then get_info().

With MXit it is not possible to find the real username/userId for a
chat-room user.
You need to send a special chat-room-get-profile command to the
chat-room contact, and it will returns the profile.
So we do need something like get_cb_info().


Alternatively, if the protocol prpl could have more control over the
actions available in the chatroom user-list pane.
eg, display an "IM" and "Info", but don't show a "Send File".
     If "Info" is selected, then call this prpl function, etc.


Your thoughts?

Regards,
  Andrew Victor



More information about the Devel mailing list