xep-0313 question: what is the best way for a client to 'sync up' with the server-sided message archive? The protocol allows to be synced up based on timestamps, but also notes that those might not be unique. It states that the client MUST NOT depend on the presence of XEP-0359 IDs. I'm thinking that RSM's 'before' and 'after' identifiers are supposed to be opaque, so clients can't depend on that to be a XEP-0359 IDs either?
jonas’
Guus, yet everyone does
Guus
Which one?
jonas’
Guus, assume that they’re '0359 IDs.
jonas’
nevermind that it’s then undefined how that even works with RSM, but that’s a topic for a different, long-winded argument which I have on my to-do list
mukt2has joined
Holger
Hm?
Guus
'they' being the supposedly-opaque RSM before and after values?
Holger
> When a message is archived, the server MUST add an <stanza-id/> element as defined in Unique and Stable Stanza IDs (XEP-0359) [2] to the message
jonas’
Guus, yes
Guus
jonas’ thanks
Holger
> which informs the recipient of where and under what ID the message is stored.
Holger
So those are clearly the before/after IDs, no?
Daniel
Yes the RSM situation is a bit weird right now. Matt is working on a fix
Daniel
But it works OK with rsm after for now
jonas’
my last info was that Matt is disagreeing that there’s a problem.
jonas’
and is waiting for a proper argument to show what’s even kaputt
Holger
What's the weirdness?
pep.
There was a discussion not so long ago on this channel
Guus
Holger : RSM says:
> The responding entity may generate these UIDs in any way, as long as the UIDs are unique in the context of all possible members of the full result set. Each UID MAY be based on part of the content of its associated item, as shown below, or on an internal table index. Another possible method is to serialize the XML of the item and then hash it to generate the UID. Note: The requesting entity MUST treat all UIDs as opaque.
Daniel
I've seen a draft where query itself has a after-id value
Guus
note that I don't mind using XEP-0359 IDs in RSM - but it might avoid confusion to explicitly state that.
Daniel
And Matt explained the problem to me which I didn't saw myself before that
Daniel
So I'd say he is aware
jonas’
Holger, that things get weird when you want to request stuff between two IDs from MAM
jonas’
Daniel, oh, nice
jonas’
so that’s getting fixed
Holger
Guus: You mean the very last sentence?
Guus
Holger yes.
Holger
jonas': So that's about the question whether before/after can be combined?
pep.
https://matthewwild.co.uk/uploads/stdin-s2ilB8Kj
pep.
jonas’, Daniel ^
pep.
In this room
Guus
But note that today, I'm looking for implementation guidelines, not to address potential improvements to the protocol.
Daniel
> But note that today, I'm looking for implementation guidelines, not to address potential improvements to the protocol.
For normal catchup just do rsm with the last stanza id
Guus
everyone uses XEP-0359 IDs in MAM2 RSM? Good enough for me.
Daniel
And empty query
chronosx88has joined
Holger
jonas': Isn't that unrelated to Guus' question about stanza IDs being MAM IDs? Which I think 0313 is totally clear about, which solves any opaqueness doubts I would've thought?
Daniel
And when parsing the message make sure you validate the stanza id feature on the archiving entity
Holger
Guus: Yes, and as I said I'd argue that's not just common practice but clearly guaranteed by 0313.
Guus
Daniel "and empty query" ?
Daniel
Yes don't limit the query with a time stamp or something
Holger
Or the mam:2 feature, as that depends on stanza-ID.
Daniel
*if* you have a stanza id
Guus
Holger I'd say that it could be stated more explicitly in 313 - It wasn't obvious to me, so it won't be obvious to at least other people as bad in reading XEPs as me. 🙂
Guus
Daniel understood, thanks.
Holger
I would've thought my above quote makes this very explicit but whatever.
Guus
Holger I'm one of those people that labels his label printer with "label printer" 😉
Holger
:-)
Holger
There's also this note:
> Previous versions of this protocol did not specify any interaction with stanza-id, and clients MUST NOT interpret XEP-0359 IDs in messages as archive IDs unless the server advertises support for 'urn:xmpp:mam:2' specifically.
Holger
This this only implies the identity of 0359 and 0313 IDs by inversion of the statement.
Holger
*Admittedly this ...
Guus
Doesn't hurt to make it more explicit. 🙂
Guus
Thanks people!
Daniel
If I recall correctly the NS of mam wasn't bumped before stanza id mandated the cleaning
Daniel
So technically you could have a combination of mam2 and stanza id that doesn't do cleaning
Daniel
But whatever
Holger
Ah. That may well be true.
mukt2has left
Holger
Daniel: This would be addressed by checking for sid:0 in addition to mam:2, right?
Daniel
Holger: yes that's why I said look for the stanza id feature
Holger
Makes sense.
Daniel
But I don't think it's a problem in the wild. Prosody for example deliberately limited itself to mam1 before they had proper stanza id cleaning
mimi89999has left
mimi89999has joined
flow
"stanza id cleaning" being the requirement that entities check for stanza-id's with a 'by' value of the checking entity?
Daniel
Yes
Holger
Daniel: Then again some MUC MAM module announced mam:2 without injecting stanza IDs at all, IIRC.
Holger
But that's been fixed and I'd just stick to the spec if I was a client author. And blame admins running outdated servers if things go wrong.
flow
Daniel, IIRC that requirement has always been tehre
eevvoorhas joined
Holger
flow: Daniel clarified the Business Rules in 0.5.0. I don't think they stated this (as clearly) before: "Stanza ID generating entities, which encounter a <stanza-id/> element where the 'by' attribute matches the 'by' attribute they would otherwise set, MUST delete that element even if they are not adding their own stanza ID."
Holger
flow: Also rule 7, i.e. the exact value of the 'by' attribute, wasn't as clear before, IIRC.
Holger
(Text was contradicting example or something, so some servers would do by=$service_jid.)
debaclehas left
flow
Holger, I think it was clear before, or I do not understand the issue the commit message tries to explain
flow
But yes, it wasn't clearly defined what the by value for MUCs is (MUC service domain vs MUC (bare) JID)
pdurbinhas left
Danielhas left
lskdjfhas joined
Danielhas joined
Zashhas left
Zashhas joined
jubalhhas left
eevvoorhas left
Dele (Mobile)has joined
jubalhhas joined
emushas left
emushas joined
adiaholichas left
adiaholichas joined
!XSF_Martinhas left
!XSF_Martinhas joined
ajhas left
mukt2has joined
Yagizahas left
Yagizahas joined
adiaholichas left
adiaholichas joined
delehas joined
delehas left
Kevhas left
pdurbinhas joined
winfriedhas left
winfriedhas joined
pdurbinhas left
Zashhas left
Zashhas joined
vanitasvitaehas left
vanitasvitaehas joined
COM8has joined
Shellhas joined
adiaholichas left
Nekithas left
ledhas left
ledhas joined
mukt2has left
Nekithas joined
ledhas left
ledhas joined
Shellhas left
COM8has left
ledhas left
winfriedhas left
winfriedhas joined
COM8has joined
ledhas joined
andrey.ghas left
mathijshas left
mathijshas joined
mathijshas left
COM8has left
andrey.ghas joined
mathijshas joined
jubalhhas left
waqashas joined
waqashas left
Kevhas joined
eevvoorhas joined
adiaholichas joined
adiaholichas left
adiaholichas joined
jubalhhas joined
adiaholichas left
adiaholichas joined
adiaholichas left
adiaholichas joined
Kevhas left
pdurbinhas joined
pdurbinhas left
goffihas left
mukt2has joined
winfriedhas left
winfriedhas joined
Nekithas left
Nekithas joined
Mikaelahas left
Mikaelahas joined
Nekithas left
Nekithas joined
jubalhhas left
mathijshas left
mathijshas joined
Kevhas joined
jubalhhas joined
winfriedhas left
winfriedhas joined
j.rhas left
eevvoorhas left
adiaholichas left
adiaholichas joined
ajhas joined
mukt2has left
mukt2has joined
adiaholichas left
adiaholichas joined
waqashas joined
adiaholichas left
adiaholichas joined
adiaholichas left
Kevhas left
Kevhas joined
jubalhhas left
waqashas left
winfriedhas left
winfriedhas joined
pdurbinhas joined
Kevhas left
Wojtekhas joined
j.rhas joined
mathijshas left
mathijshas joined
stpeterhas joined
mathijshas left
pdurbinhas left
mathijshas joined
Yagizahas left
Yagizahas joined
archas left
archas joined
rion
Do we have any XEP explaining what to do if for example I want to start a Jingle FT (requesting a file) in a MUC with a specific user connected to the MUC from two clients with the same nickname and only one of the clients has the file?
MattJ
No
rion
then when MUC is going to be deprecated?
jonas’
in favour of what?
rion
mix
jonas’
this problem isn’t fully solved for MIX either.
rion
oh
jonas’
particularly in anonymous mixes
Shellhas joined
winfriedhas left
rion
then we still probably need some unique identifier for each connection to the muc regardless of nickname.
winfriedhas joined
jonas’
which is tricky
jonas’
there has been a long discussion on the list about this issue for MIX
jonas’
we need to stuff four identifiers (MIX domain, MIX channel, user identifier, client/connection identifier) in a thing which only has three fields (a JID)
jonas’
and each solution has its own drawbacks.
rion
channel@domain/user?uuid ?
rion
xmpp rfc has to be fixed :)
jonas’
problem with that is that bare JIDs are as it stands now very useful for asserting equal identities
jonas’
i.e. if a message comes from two different full JIDs but the same bare JID (and is not of type="groupchat"), you can be fairly certain that it’s from the same entity
jonas’
that would break with your proposed scheme
jonas’
the obvious other solution is user?channel@domain/uuid, but I don’t recall what problem folks had with that
jonas’
except that there’s no trivial way (you have to parse the localpart) to associate the user to a channel
there are about four or five threads about this topic, it was a real sprawl
404.city Supporthas joined
404.city Supporthas left
404.city Supporthas joined
rion
jonas’: the idea with <mix channel="some-channel"/> lgtm too. I haven't started implementing MIX yet. So whatever works best :)
lovetoxhas joined
j.rhas left
j.rhas joined
archas left
archas joined
mukt2has left
mukt2has joined
jabberjockehas left
waqashas joined
waqashas left
waqashas joined
404.city Supporthas left
waqashas left
adiaholichas joined
Steve Killehas left
Mikaelahas left
jabberjockehas joined
Mikaelahas joined
!XSF_Martinhas left
!XSF_Martinhas joined
Steve Killehas joined
stpeterhas left
stpeterhas joined
jabberjockehas left
jabberjockehas joined
mukt2has left
mukt2has joined
Kevhas joined
mathijshas left
mathijshas joined
Mikaelahas left
Mikaelahas joined
pdurbinhas joined
j.rhas left
mukt2has left
jabberjockehas left
pdurbinhas left
mukt2has joined
jabberjockehas joined
Yagizahas left
jabberjockehas left
jabberjockehas joined
jabberjockehas left
jubalhhas joined
mathijshas left
mathijshas joined
ajhas left
debaclehas joined
jmpmanhas joined
Nekithas left
j.rhas joined
Kevhas left
!XSF_Martinhas left
!XSF_Martinhas joined
Guus
Looking at the CS2020 last call, I was surprised to see XEP-0392: Consistent Color Generation in there. What's the rationale for including it?
jonas’
Guus, discuss! :)
Guus
Aren't I doing that? 🙂
jonas’
Guus, on list is probably a better way to do that
Ge0rG
Guus: it was added before all the nifty styling requriements were removed from 0392.
Guus
Ge0rG I noticed that XEP-0385 is mentioned both in section 1.1 "Changes since 2019", but also in section 3 "Future Development". Is that an error, or intended?
Ge0rG
Guus: it's optional in §2.3 as well.
Ge0rG
Guus: the issue I have is that you can't really have optional things in the compliance tables.
Ge0rG
so I'm a bit torn on where to have it and where not to.
Ge0rG
But the triple-listing is probably a bit too much
Ge0rG
Still, I'd appreciate a list discussion
Guus
I'd argue that if you're including it, then there's no point of adding it also as a 'keep an eye on this one for the future'
Ge0rG
fair
Zash
Meta: The LC template seems weird for compliance suites.
Guus
I've not followed it.
Guus
sue me.
Guus
I'm happy to see this take off before Christmas, though 🙂
Guus
thanks for that
Chobbeshas joined
jubalhhas left
Chobbeshas left
jmpmanhas left
rionhas left
adiaholichas left
mukt2has left
jubalhhas joined
mukt2has joined
xalekhas joined
rionhas joined
mukt2has left
mukt2has joined
debaclehas left
mathijshas left
mathijshas joined
lovetoxhas left
stpeterhas left
jabberjockehas joined
j.rhas left
pdurbinhas joined
DebXWoodyhas left
Nekithas joined
lovetoxhas joined
mukt2has left
DebXWoodyhas joined
debaclehas joined
pdurbinhas left
jonas’
Zash, true, saw that too right after I confirmed
mukt2has joined
andyhas left
stpeterhas joined
mukt2has left
jtyntvhas joined
goffihas left
jtyntv
yoo is there any were on here or icq i can get free ccs
eevvoorhas joined
mukt2has joined
Zashhas left
Zashhas joined
jtyntvhas left
stpeter
beautiful
mukt2has left
chronosx88has left
moparisthebest
jtyntv, here you go: https://www.creditcardvalidator.org/generator
goffihas joined
mukt2has joined
lskdjf
credit cards? 😮 I'm sure they merely wanted to exchange with others about planting trees to achieve Carbon Capture and Storage (CCS). But you judgemental people and your prejudice ruin everything!!