appspot xmpp 与 jabber.org 交谈

发布于 2024-08-27 18:12:08 字数 164 浏览 3 评论 0原文

当我连接到 gtalk 时,我可以在 appspot 中与我的机器人交谈。但是当我登录 jabber.org 时,我无法与我的机器人交谈?我需要配置什么吗?

testetefsdf @ appspot.com

p/s:该机器人存在于我的 jabber.org 名单中并出现在网上

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱要勇敢去追 2024-09-03 18:12:08

当您想与 jabber 用户聊天时,尝试删除此测试:

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

getPresence() 仅适用于 Gtalk 用户(我确定 python API,不适用于 JAVA)。

无论如何,如果可以的话,请粘贴您的代码片段。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文