I need to write a message plugin to access the internal Jabber server due to some special authentication. I have two questions:
- Is there any source code for the Jabber message plugin, so I can just change the authentication part and not write the whole plugin?
- If not, how can I send the status of each friend to the list of groups to IMService? I created a plugin that can log in and get a list of contacts from an internal server. The list of buddies is displayed in messages with everyone offline, even buddies who are online. I spent days looking at the limited documentation and heading s, and I cannot figure out how to transfer the status of each buddy in the group list for IMService. When I get the list of groups) from the Jabber server, I call the plugInDidUpdateGroupList method on my IMServiceApplication object. I only see that I can go through the group name, permission and the name of each friend. They all appear offline. How to convey the status of each friend?
Thank.
source
share