powered by Jive Software

How to determine when user starts 1-to-1 chat using chat2

I am currently using Smack 4.3.0.

I need to know when a user has doubled clicked on my chatBot’s name to start a 1 to 1 chat. Basically I want to the bot to say Hi and list the commands it understands.

In smack-im/…/smack/chat/ChatManager, you could register a listener to be informed when a chat was created.

In the new ChatManager (smack-extensions/…/smack/chat2/ChatManager), I do not see this functionality. Does anyone know how to do this using chat2?

Thanks, Wray

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.