-
Rohan
Hi..!! I am new to xmpp. Can anyone tell me how can I use same nickname for multiple resources (devices) of a single user in muc? Currently getting nickname conflict error.
-
Zash
If you're using the same account then it should just work with most modern servers, I think.
-
Zash
Either the MUC doesn't support Multi Session Nicks or a different account uses the nickname already.
-
Rohan
Zash thank you for your response. I am using same Jabbar Id but with different resources. Dose different resources can cause an issue of conflict.
-
Rohan
Is suppose Jabbar Id user1@domain/web and user1@domain/mobile treats as two different account in muc?
-
Zash
If the bare JID is the same (user1@domain) then the MUC should allow you to use the same nickname. Some older servers don't however.
-
Rohan
The server which i am currently using throws an conflict error. Is there any way to use same nick for a user with different resources in muc. Is there any specific muc config or something else?
-
Zash
Not that I know of.
-
Rohan
Zash Okay..!! Thank you for your response.
-
Zash
All I know it we went to quite some length to implement nickname sharing in Prosody.
-
Rohan
Okay..!! Those prosody supports nick sharing?
-
Zash
Prosody supports sharing nickname.
-
Zash
This MUC right here runs Prosody, and I have at least a phone and a desktop client using my nickname right now.
-
Rohan
Oh..!! That's great Zash. If you know can you tell me xep-xxx to enable the support.
-
Zash
https://xmpp.org/extensions/xep-0045.html
-
Zash
Search for "Multi-Session Nick"