appspot xmpp talk with jabber.org

霸气de小男生 提交于 2019-12-21 20:55:36

问题


when i connect to gtalk, i able to talk with my bot in appspot. but when i login to jabber.org, i unable to talk with my bot? anything i need to configure?

testetefsdf @ appspot.com

p/s: the bot exist in my jabber.org roster and appear online thou


回答1:


Try to remove this test when you want to chat with jabber user:

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

getPresence() works just for Gtalk user (i'm sure for python API, not for the JAVA one).

Anyway, paste your snippet if you can.



来源:https://stackoverflow.com/questions/2570800/appspot-xmpp-talk-with-jabber-org

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!