In xmpp, following 2 users could join multi-user chat(MUC) or subscribe to same pub-sub node?
public@service.com/user1
public@service.com/user2
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When joining an anonymous MUC room, a room where others do not know the “real” JID of others in the room, the connecting user provides their own JID.
When joining a non-anonymous room the users provide their full JID which is transmitted then to all occupants.
In either case there is nothing to prevent the user from joining with the same bare JID but different resources. More details on the MUC protocol, specifically around joining a room can be found in XEP-0045: Basic MUC Protocol.
When subscribing via pub-sub the client can provide either a full JID or a bare JID (no resource) when subscribing. Details for this can be found in the pub-sub XEP, XEP-0060