Hi ,I am developing a bot(using
smack library, by referring the
ofchat.jar) plugin in openfire. The bot is going to create connection and login with the bot username and password. It’ll fetch all the muc room list it can join and joins each room for listening messages.If any message is recieved it needs to be pushed to a broker.
But, when the chatroom is created from the webclient by a user(
general user not a bot) and botuser is added as a
participant/member. to that chatroom, I need to automcatically start join and start listening to that message (as all chatrooms are passwordless, I can directly join and listen messages). But for this event needs to be triggered, but according to what I found in forum is there is no such event exists in openfire. So, I though of writing a plugin which listens whenever a participant is added to muc and it should send muc invite to bot user by filtering that event. But I am not getting any source for writing this plugin, So is there any source which I can follow or any suggestion So, that my bot can work seamlessly. Any help would be much appreciated.