XMPP python: Send a private message to one of several users logged on with the same jid

StackOverflow https://stackoverflow.com/questions/9914159

  •  27-05-2021
  •  | 
  •  

Pergunta

In my situation, I have might have userA and userB logged on to google talk with using us@gmail.com, while userC and userD are logged on to google talk using them@gmail.com.

How might userA send a message that only userC will see, and userC verify that a given message is from userA?

I am still new to xmpp, and I am having trouble gauging whether this requires muc or not. Any suggestions would be appreciated.

I have a good deal of code written in python so far that interprets the messages, so if there is a simple way to do this with xmpppy or the like, please let me know.

Foi útil?

Solução

See this answer about using full JIDs with resources, as opposed to "bare" JIDs like "them@gmail.com".

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top