I am currently writing a XMPP bot using xmpp4r
(Ruby) but when it sends a message to a user using the same XMPP server, it does not deliver to the user. My condition is:
- The bot user is registered at XMPP server x.
- The human user who will get the message is also registered at same XMPP server x.
- Both users are connected to that server and are online.
- There is no subscription or invite between users.
- At this time, the bot user needs to send a message to the human user.
Is this possible, or what can I do to send message from bot?