-
pep.
"lovetox> of course members-only would need to be disabled" yeah that's an issue. So I'd rather not use `;password`. "lovetox> otherwise it would probably be easy to add a <token> element to some join presence, and the server could then do its stuff" This sounds better yeah, and a new URI parameter to go with it probably
-
pep.
I wonder if there's a way to combine this to account creation process, but that may be a bit much to ask..
-
Kev
In principle there's no reason that password won't work for that.
-
pep.
I can have a password-protected room + member-only?
-
pep.
Actually it's not what I want.. I just want it member-only
-
pep.
But I guess the password parameter can be reused indeed..
-
pep.
If a token has been issued, the room should be aware
-
pep.
Ah sorry you were talking about account creation
-
pep.
Ah no.
-
pep.
(Still waking up..)
-
Zash
Which kind of backwards compatibility mess do you want? :)
-
lovetox
the room is aware of the password, in reality you want exactly what password provides
-
lovetox
its just that the server could offer a option to add users as members automatically when they jon✎ -
lovetox
its just that the server could offer a option to add users as members automatically when they join ✏
-
lovetox
and maybe that members dont need to provide a password
-
pep.
Prosody (only?) already adds users as members when they're invited, and these users don't need a password✎ -
pep.
Prosody (only?) already adds users as members when they're invited, and these users don't need a password/token ✏
-
lovetox
your use case is, when you cannot invite because you dont know the jid
-
pep.
I can have a mix of both
-
pep.
These use-cases don't conflict
-
pep.
(or shouldn't)
-
lovetox
they do when you use a password
-
pep.
That's why I'm not sure I want to use a password
-
lovetox
because i think members still need to provide the password, in current muc impl
-
pep.
Yes I think so too
-
lovetox
but it makes not much sense
-
lovetox
why would i add someone to a room as member, and then
-
pep.
One could send the password/token in the invite. Dunno how it's done atm
-
pep.
But it's weird to require both membership and password then
-
lovetox
dont allow to join
-
lovetox
password should be only for non-members
-
pep.
Yeah so using a password for those is weird
-
pep.
I think we agree
-
MattJ
I've used tokens in the password slot before (closed system though), it works fine
-
Kev
Even if the client then bookmarks including the password, I think a server can cope fine with that by just ignoring the already-consumed token because the user is a member.
-
pep.
Do you have a draft spec somewhere for generation? Should I reuse 0050 more or less like it's used in 401 etc.?
-
pep.
Kev, yeah
-
singpolyma
Combining with signup is something we may want, but I think it would require encoding the while muc jid in a param which is pretty verbose
-
singpolyma
And possibly two tokens (one for signup one for the MUC)...
-
pep.
"Encoding the while muc jid"? target?
-
singpolyma
Well you need the jid of the server to register with as well as the jid of the MUC both to be present somehow. Unless the MUC advertises a server to register with I guess
-
pep.
It's just me not understand the english used here✎ -
pep.
It's just me not understanding the english used here ✏
-
Kev
I guess s/while/whole/
-
singpolyma
Yes