Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在使用xmpp4r(Ruby)编写一个 XMPP 机器人,但是当它使用相同的 XMPP 服务器向用户发送消息时,它不会传递给用户。我的条件是:
xmpp4r
这可能吗,或者我能做些什么来从机器人发送消息?
将消息传递到发送实体的订阅状态为“无”的 XMPP 实体当然是可能的(并且是预期的行为)。
我建议您查看服务器日志或侦听错误消息以确定消息未传递的原因。