Ok, this is very clear!
Thanks for the quick response!
Regards,
Valentin.
Le 17 août 09 à 16:02, Dave Cridland a écrit :
On Mon Aug 17 14:56:49 2009, Valentin MARTINET wrote:
I'm debugging multi-user-chat for XMPP, and I'd like to know how a
room name should be created, when extending a
one-to-one chat to a three (ore more) users chat.
For example, I've noticed that Spark software from Ignite Real
Time uses the namùe of the user, followed by a generated string
(and followed by @muc-service-name.jabber-server.com).
Is this the right way?
The XEP-0045 specification actually includes a method of requesting
a unique room name from the server.
Personally, I'd go for client-side generation, assuming you can use
a sufficiently random name, though, as this will remove a round-
trip, but this is really a matter of personal choice.
The important thing to do is to ensure that if the room cannot be
joined, to generate a new name and try again, and if it can be
joined, to ensure that the room is locked (ie, it's just been
created) before anything else.
Dave.
--
Dave Cridland - mailto:[email protected] - xmpp:[email protected]
- acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
- http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade
------------------------------------------------------------
Valentin MARTINET
[email protected]