Appspot xmpp talk with jabber.org

when I connect to gtalk, I can talk to my bot in appspot. but when I log in to jabber.org, I can not talk to my bot? what do i need to configure?

testetefsdf @ appspot.com

p / s: the bot exists on my jabber.org list and appears on the Internet.

+3
source share
1 answer

Try removing this test if you want to chat with the jabber user:

if (xmpp.getPresence(jid).isAvailable())

getPresence () only works for the Gtalk user (I'm sure for the python API and not for JAVA).

In any case, insert your snippet if you can.

+2
source

Source: https://habr.com/ru/post/1721368/


All Articles