I'm confusing which JIDs should go where.. what kind of terminology do you use for your MUC-component impls?
- roomjid, barejid of the room
- occupant? Many resources (fulljid) from the same account to one participant fulljid
- Session? A real(full)jid.
- Anything I'm missing?
pep.
- Participant -- which I named in the occupant line --, fulljid for the occupant in the room
MattJ
Don't look to Prosody for inspiration here... most of the variables called 'nick' contain an occupant's room JID
MattJ
That "most" is the best part
pep.
^^'
MattJ
Gradually cleaning that up
MattJ
Occupant JID is generally clear, I think
MattJ
And real JID is always clear
jubalhhas left
pep.
Occupant JID being.. what I called participant jid?
pep.
In my list above, an occupant isn't actually visible from the outside
pep.
Maybe I should just call that occupant jid yeah
pep.
Well it's visible as a participant
pep.
But I guess I just took that from roles and it's not actually needed✎
pep.
But I guess I just took that word from roles and it's not actually needed ✏
pep.
Yeah realjid is always clear to me too
pep.
Even though.. it can be full or bare
pep.
That's why I also like session
MattJ
Apart from the multi-session nick stuff, MUC is pretty much based on full JIDs only
pep.
I start a new MUC implementation, I'm going to include MSN :p
MattJ
Though given trends, it may be something I'd change in a new implementation
pep.
But yeah I realized it was mostly fulljids. I was a bit surprised coming mostly from the client side
pep.
When sending presences at join, I send occupant presences right, not sessions. Unless in non-anon rooms, or.. is it that I just include multiple realjids in the presence?
nicoco_
when you master all this, will you help me with slidge's MUC support pep, please ? 🙂 ✎
nicoco_
when you master all this, will you help me with slidge's MUC support pep, please? 🙂 ✏
pep.
heh
pep.
Or I just include one of the session jid, and which one is implementation defined?
pep.
Because MSN wasn't planned from the start so it's just not there
Ingolfhas joined
MattJ
pep.: Prosody sends multiple real JIDs in presence, though it's not in the spec (or wasn't, can't remember if we updated it)
pep.
“ If allowed by the service, a user can associate more than one full JID with the same occupant JID (e.g., the user juliet@capulet.lit is allowed to log in simultaneously as the nick "JuliC" in the characters@chat.shakespeare.lit chatroom from both juliet@capulet.lit/balcony and juliet@capulet.lit/chamber). Multi-session nicks are not currently defined in this document.”✎
pep.
“If allowed by the service, a user can associate more than one full JID with the same occupant JID (e.g., the user juliet@capulet.lit is allowed to log in simultaneously as the nick "JuliC" in the characters@chat.shakespeare.lit chatroom from both juliet@capulet.lit/balcony and juliet@capulet.lit/chamber). Multi-session nicks are not currently defined in this document.” ✏
pep.
What does this look like in XML? multiple <item/>?
MattJ
Yes
Mx2has left
Mx2has joined
thomaslewishas joined
pep.
ta
thomaslewishas left
kikuchiyohas left
selurveduhas left
TheRealkaranohas left
TheRealkaranohas joined
nikhas joined
nikhas left
nikhas joined
kikuchiyohas joined
antranigvhas joined
thomaslewishas joined
nikhas left
kikuchiyohas left
kikuchiyohas joined
thomaslewishas left
atomicwatchhas joined
Ingolfhas left
thomaslewishas joined
TheRealkaranohas left
TheRealkaranohas joined
Mx2has left
Mx2has joined
thomaslewishas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
PapaTutuWawahas left
thomaslewishas joined
thomaslewishas left
spiralhas left
spiralhas joined
heartyhas left
Samhas left
Samhas joined
heartyhas joined
SouLhas left
miruxhas left
miruxhas joined
debaclehas joined
marchas left
marchas joined
atomicwatchhas left
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas joined
thomaslewishas left
atomicwatchhas joined
PapaTutuWawahas joined
thomaslewishas joined
thomaslewishas left
qwestionhas joined
thomaslewishas joined
raghavgururajanhas left
thomaslewishas left
gregoryhas left
thomaslewishas joined
qwestionhas left
thomaslewishas left
spiralhas left
spiralhas joined
thomaslewishas joined
thomaslewishas left
qwestionhas joined
raghavgururajanhas joined
qwestionhas left
jubalhhas joined
Mx2has left
Mx2has joined
marchas left
qwestionhas joined
marc0shas left
marc0shas joined
SouLhas joined
marc0shas left
marc0shas joined
krithas left
spiralhas left
spiralhas joined
qwestionhas left
atomicwatchhas left
marc0shas left
marc0shas joined
atomicwatchhas joined
Dele Olajidehas joined
Dele Olajidehas left
omightyhas joined
omightyhas left
thomaslewishas joined
xnamedhas left
xnamedhas joined
thomaslewishas left
thomaslewishas joined
xnamedhas left
marchas joined
larmahas joined
MSavoritias (fae,ve)has left
MSavoritias (fae,ve)has joined
pep.
https://xmpp.org/extensions/xep-0045.html#bizrules-presence
> A room MUST silently ignore unavailable presence received from a user who has a role of "none".
It seems like prosody is sending cancel/service-unavailable instead? That's when a realjid has no existing session and sends an unavailable presence (with no payload). Prosody also sends the same when an there's an existing session but the unavailable presence comes from another resource. But I guess here that may be ok?
kikuchiyohas left
kikuchiyohas joined
thomaslewishas left
MattJ
I'm not sure why the MUST NOT, I don't see what harm it causes
MattJ
But it's probably just oversight on our part... we return that error for any stanza not "handled", by default
MattJ
So MUC probably does ignore it, and then Prosody sees no code did anything useful and lets the sender know with an error
pep.
Yeah I'm also not sure, both make sense I guess
thomaslewishas joined
marc0shas left
marc0shas joined
kikuchiyohas left
kikuchiyohas joined
thomaslewishas left
lovetox
role = none? means im kicked?
lovetox
can a joined user have role = none
lovetox
does this not simply mean, dont broadcast presences for not joined users?
lovetox
or it goes into this direction to not confuse clients
lovetox
with presence broadcasts
thomaslewishas joined
xnamedhas joined
marc0shas left
marc0shas joined
MattJ
Uh, well, we might all be talking about different things
MattJ
I was talking about the response to the sender
MattJ
It obviously shouldn't be broadcast
MattJ
Now I'm not sure what pep. was talking about
pep.
The response to the sender yeah
thomaslewishas left
krithas joined
MattJ
My guess is that the XEP is thinking about broadcast at this point
MattJ
Which makes the MUST seem more sensible
MattJ
More than sensible 🙂
thomaslewishas joined
xnamedhas left
kikuchiyohas left
lovetox
That's what I meant, the xep probably wants to say "don't follow the normal muc roules for this presence"✎
lovetox
That's what I meant, the xep probably wants to say "don't follow the normal muc rules for this presence" ✏
thomaslewishas left
lovetox
But silently ignore is probably to much
kikuchiyohas joined
xnamedhas joined
thomaslewishas joined
antranigvhas left
antranigvhas joined
thomaslewishas left
thomaslewishas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
xnamedhas left
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas left
xnamedhas joined
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas joined
r4v3r23has joined
TheRealkaranohas left
TheRealkaranohas joined
r4v3r23has left
TheRealkaranohas left
TheRealkaranohas joined
nephelehas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
PapaTutuWawahas left
thomaslewishas left
TheRealkaranohas left
TheRealkaranohas joined
uhas joined
TheRealkaranohas left
TheRealkaranohas joined
inkyhas left
xnamedhas left
xnamedhas joined
thomaslewishas joined
nephelehas left
nephelehas joined
nephelehas left
nephelehas joined
nephelehas left
qwestionhas joined
nephelehas joined
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas left
qwestionhas left
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas left
qwestionhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
marc0shas left
marc0shas joined
TheRealkaranohas left
TheRealkaranohas joined
gregoryhas joined
Samhas left
TheRealkaranohas left
Mx2has left
TheRealkaranohas joined
xnamedhas left
Samhas joined
qwestionhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
nephelehas left
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas left
spiralhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas joined
spiralhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas left
rubihas left
rubihas joined
thomaslewishas joined
xnamedhas joined
thomaslewishas left
TheRealkaranohas left
TheRealkaranohas joined
spiralhas left
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas joined
spiralhas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
Mx2has joined
Laurahas left
Laurahas joined
TheRealkaranohas left
thomaslewishas left
TheRealkaranohas joined
qwestionhas joined
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas left
qwestionhas left
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas joined
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas left
rubihas left
kikuchiyohas left
TheRealkaranohas left
TheRealkaranohas joined
rubihas joined
kikuchiyohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
antranigvhas left
TheRealkaranohas left
Matrix Traveler (bot)has left
homebeachhas left
homebeachhas joined
Matrix Traveler (bot)has joined
TheRealkaranohas joined
PapaTutuWawahas joined
TheRealkaranohas left
TheRealkaranohas joined
uhas left
uhas joined
atomicwatchhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
Schimonhas left
TheRealkaranohas left
TheRealkaranohas joined
techmetx11has left
techmetx11has joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
colemanhas left
colemanhas joined
thomaslewishas joined
thomaslewishas left
wurstsalathas left
Yagizаhas left
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas joined
rubihas left
TheRealkaranohas left
TheRealkaranohas joined
colemanhas left
colemanhas joined
marchas left
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas left
TheRealkaranohas left
TheRealkaranohas joined
MSavoritias (fae,ve)has left
MSavoritias (fae,ve)has joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas left
rubihas joined
thomaslewishas joined
jgarthas left
thomaslewishas left
thomaslewishas joined
Mario Sabatinohas left
TheRealkaranohas left
TheRealkaranohas joined
thomaslewishas left
rubihas left
rubihas joined
marc0shas left
marc0shas joined
thomaslewishas joined
rubihas left
rubihas joined
PapaTutuWawahas left
thomaslewishas left
miruxhas left
thomaslewishas joined
thomaslewishas left
thomaslewishas joined
rubihas left
spiralhas left
kikuchiyohas left
Mx2has left
qwestionhas joined
thomaslewishas left
Mx2has joined
qwestionhas left
thomaslewishas joined
spiralhas joined
thomaslewishas left
thomaslewishas joined
Sam
Random picture of Ralph half way through this article, plus a secretly planted XMPP mention in the middle (even though the article isn't about that): https://www.forbes.com/sites/michaeldelcastillo/2022/09/11/jack-dorseys-former-boss-is-building-a-decentralized-twitter/?sh=1b053b5457c3
pep.
403. Another website that doesn't like Tor.
moparisthebest
Or https://www.forbes.com/sites/michaeldelcastillo/2022/09/11/jack-dorseys-former-boss-is-building-a-decentralized-twitter/ with the creepy tracking link removed
pep.
I guess Mastodon wasn't decentralized enough for Jack.
Millesimushas left
thomaslewishas left
jubalhhas left
Alexhas left
pep.
TIL about Twetch. "Decentralized social network -- where everything lives on the blockchain". Are they being serious?