-
daniel
Would it be a stupid idea to have the muc server include the caps hash in room configuration change messages?
-
pep.
I have a poezio plugin that pulls the config and diffs, when there's a configuration change :x
-
Kev
Meanwhile, in Isode chat: Edwin I shall not mention PRECIS, shall I Kev PRECIS is a story told to frighten young children.
-
Zash
If you don't behave, you'll have to investigate how IDNA2003, IDNA2008 and PRECIS interacts.
-
Maranda
😲
-
Maranda
Do I want to know..?
- Maranda looked at rfc-4013 yesterday and noticed all those "Errata Exists" / "Obsoleted By" 🙄
-
lovetox
there is a caps hash for rooms? Oo
-
lovetox
didnt know that
-
Zash
caps hash is a function of disco#info, so why notq
-
MattJ
Good idea imho
-
lovetox
the benefit is not that great though
-
Zash
Hm, where did that come from?
-
lovetox
are there many muc config changes that dont affect the disco?
-
Zash
I thought I saw an email but now I don't
-
lovetox
if you mean why i brought up that topic, daniel asked in this room if the hash could be in the 104 status message
- Zash scrolls up
-
Zash
Ah there, hidden in a ton of joins and parts
-
lovetox
i would say its useful if there is a common case where the hash is not changed although a 104 message was sent
-
Zash
There are some settings that have status codes, some that just change in disco, others that might not have anything in disco at all.
-
Zash
I think(?)
-
lovetox
yeah what are those that are not in disco
-
lovetox
for the others is a hash not useful because it would be different anyway
-
Zash
Duno
-
Zash
You wouldn't be able to get stuff by discoing anyways
-
lovetox
if i disco i except to get a disco, what do you mean?✎ -
Zash
wut
-
lovetox
if i disco i expect to get a disco, what do you mean? ✏
-
lovetox
what is the "stuff" you are talking that i dont get
-
Zash
If something isn't in disco, you wouldn't get it via disco
-
lovetox
i doubt there is much in a room config, that does not affect the disco
-
lovetox
thats why i would be interested about what frequently changed option daniel thinks
-
lovetox
where this would allow him to skip a disco
-
daniel
lovetox, well first of it was just a random thought i didn’t think it all the way through. i just thought that muc configs are probably very similiar. for example most users (on my client) will probably just have the conversations default config
-
Zash
daniel: Name and stuff goes in there tho, so I'm assuming every room will be unique
-
daniel
yeah name is a problem with that
-
lovetox
and you still have the problem to discover the hash
-
daniel
so it probably doesn’t buy you much
-
Zash
Probably doesn't hurt much either?
-
Zash
Benchmark or it never XEPs!! :)
-
daniel
would would be cool would be a way to discover the caps hash on join or something
-
daniel
then i don’t have to do a disco query again and again
-
lovetox
thats to late daniel, you have to put stuff into the join presence that depends on disco
-
lovetox
like history query if there is no MAM
-
daniel
yeah i know. i also run the query anway to have a reliable way of telling whether a room exists
-
lovetox
every muc publishes the hash in a pep node, and clients subscribe :D
-
daniel
but anyway it feels stupid to again and again do disco#info on 10s of rooms that all have very similiar if not the same config
-
Zash
https://xmpp.org/extensions/xep-0230.html :D