powered by Jive Software

Handling invitation requests (Google Talk + Smack)

Good day, everybody!

I’m writing proof-of-concept Jabber bot using Smack API. Everything works fine excepting invitation requests handling.

Imagine some Google Talk user that is not listed as a contact. This user requests authrorization to chat with bot’s user (Google Talk too). How to handle and to approve such incoming requests?

I’ve been searching for the answer for quite a long time but still no success. Can anybody help me here?

P.S. If user is added to bot’s contact list manually (using Gmail UI), chat become possible. Need to do this automatically.