开发者

With the LibPurple chat_add_users callback, how do I get a display image from a PurpleConvChatBuddy?

开发者 https://www.devze.com 2023-01-15 14:23 出处:网络
In the LibPurple chat_add_users callback, you get a list of PurpleConvChatBuddy object\'s describing all the chat users.What is the best way to get the buddy icon / or user info photo for each of the

In the LibPurple chat_add_users callback, you get a list of PurpleConvChatBuddy object's describing all the chat users. What is the best way to get the buddy icon / or user info photo for each of the users?

I can't find any nice way to connect a PurpleConvChatBuddy object to a buddy icon, the best I can come up with is to request the userinfo and then fig开发者_高级运维ure out the 'photo' entry in the returned values. This does not seem to be the best way to handle it in a generic way.

0

精彩评论

暂无评论...
验证码 换一张
取 消