Using XMPP, can I send a message without a subscription?

I am currently writing an XMPP bot using xmpp4r(Ruby), but when it sends a message to the user using the same XMPP server, it does not deliver to the user. My condition:

  • The bot user is registered on the XMPP x server.
  • The user who receives the message is also registered on the same XMPP server.
  • Both users are connected to this server and are online.
  • No subscription or invitation between users.
  • At this time, the bot user must send a message to the user.

Is this possible, or what can I do to send a message from the bot?

+4
source share
1 answer

, ( ) XMPP, 'none'.

, , .

0

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


All Articles