-
lovetox
hm if im joined a muc, and change my show, do i have to send the presence also directed at the muc? or is it enough to send it for my account
-
lovetox
i know i dont have to if i go offline (unavailable)
-
MattJ
lovetox: sending it to your account doesn't update the MUC, so yes, you probably want to send those separately
-
lovetox
and this is expected? when i send a unavailable presence, all mucs get updated by the server
-
lovetox
but not if i only change show and status, because one would probably send different show and status to those mucs?
-
MattJ
I don't think the rules were necessarily created with MUCs in mind
-
MattJ
The idea is that you can send directed presence to some entities, separate from your account presence. The only special thing is that if you go offline, the server will "cancel" any directed presence for you
-
Link Mauve
I wanted to add a way to change this rule, negociated by the client with a supported server, and have any non-directed presence also update directed presences.
-
Link Mauve
But never did so yet.
-
edhelas
hey, do you know clients that are implementing and using 0012 ? (https://xmpp.org/extensions/xep-0012.html)
-
mathieui
we have an (apparently broken) implementation in poezio
-
edhelas
i'm wondering how it is actually implemented
-
edhelas
like, when are you sending those requests, and how are they refreshed
-
Link Mauve
mathieui, didn’t we switch to XEP-0319?
-
lovetox
edhelas, for example if you open a information dialog of a contact
-
lovetox
or if you hover for some seconds over a tooltip of a contact
-
lovetox
but 0319 is better suited for that obviously
-
edhelas
yes, i'm working with that one :)
-
pep.
We talked about removing it from poezio at all
-
pep.
0012
-
lovetox
in Gajim i answer to 0012 requests
-
lovetox
but i never request it
-
pep.
What do people say about the 402 / autojoin thread btw? More specifically my point on <extension/>, if any exists, don't randomly remove the bookmark
-
pep.
I can PR that to 402
-
pep.
It might be "obvious" for some, but the XEP only mentions preserving when editing
-
pep.
> Clients MUST preserve these (particularly preserving unknown elements) when editing items.
-
pep.
And it doesn't say anything about known elements
-
flow
pep., IIRC I suggested, in a thread where dwd was also parcipating, special container elements: one for client generated extensions, and one for server generated extensions
-
flow
this would also solve the cases where clients are unable to replay the elements in the client-generated extensions
-
pep.
That seems orthogonal to my case(?)
-
flow
potentially, maybe I misinterpreted "my point on <extension/>"
-
pep.
https://mail.jabber.org/pipermail/standards/2020-May/037473.html and https://mail.jabber.org/pipermail/standards/2020-May/037471.html for more context
-
flow
well <extension/> appears to be such a container for client generated extension elements
-
flow
and my idea was to extend the protocl so that if a client does not explicitly include <extension/> on publish, the previous/current content of that container is preserved
-
pep.
I'm not sure what definition you're referring to but it's not really defined in 402
-
flow
exactly, and IIRC there was a previous thread on standards@ how to extend things like bookmarks with custom annotations✎ -
flow
exactly, and IIRC there was a previous thread on standards@ how to extend things like bookmarks with custom annotations/(meta-)data ✏
-
pep.
My point is not about edition but removal. dunno if these two can/should be mixed?
-
pep.
Also the fact that extensions seems only to be defined in terms of clients not knowing about stuff inside :p
-
flow
https://mail.jabber.org/pipermail/standards/2019-November/036640.html
-
pep.
yes I remember this
-
pep.
And I know that's where it comes from :x
-
flow
pep., I am sorry, then I probably did not understand what "More specifically my point on <extension/>, if any exists, don't randomly remove the bookmark" is asking
-
pep.
Asking if anybody is against a PR specifying <extensions/> a bit more in this regard
-
pep.
402 has no schema. yay
-
flow
pep., what would that additional specification entail?
-
flow
I also usally encourage people to just present patches, be it for specs or source code, as those are easier to discuss ;)
-
pep.
Something along the lines of "If there is an extension that you didn't add yourself, don't automatically remove the entry (that is, without explicit user input)."
-
flow
Isn't that what " Clients MUST preserve these [<extensions/>]" already does?
-
pep.
What about the "when editing items"?
-
pep.
Because I've heard a few client devs ready to remove these items witout blinking
-
pep.
Automatically when the user leaves a room
-
flow
that sounds like non-compliant behavior
-
pep.
So many things a person can infer from half a specified sentence..
-
flow
as the client clearly edited the item while not preserving things
-
pep.
Can we not just add a bit more text in there?
-
flow
well sure
-
flow
clarifications are always good, and it appears your clarification is within the spirit of the xep
-
flow
it's just *very* hard to write specifications that are not open to different interpretations
-
lovetox
pep., i think you misunderstanding the XEP
-
pep.
how?
-
lovetox
because you talk about client devs removing items
-
lovetox
of course a client can remove a item if it understand what it does
-
lovetox
this is not an eternal archive of xml elements
-
pep.
Well I'll let the user be the judge
-
lovetox
they have a purpose, one client puts an extension in, and another client can remove it
-
lovetox
maybe thats the problem, you think this is some kind of User added thing?
-
pep.
lovetox, sure, that is not what I'm saying. I just don't want clients randomly removing items when leaving a room or sth (because the whole point of all our "bookmark" XEPs is to be client sync mechanisms)
-
pep.
(and I stand by this statement)
-
lovetox
random? i dont know what you talking about
-
pep.
That's why I'm not comfortable hacking profiles on top of 402
-
lovetox
if i unset the autojoin flag on a bookmark is this random for you?
-
lovetox
so why would it if i modify an element in the extension node?
-
pep.
Ok remove the "random"
-
pep.
To me, a user leaving a room doesn't justify removing the item
-
pep.
I want the dumb list of bookmarks to be separated from the autojoin mechanism
-
lovetox
but why? so we have to query more for the same functionality?
-
pep.
hmm?
-
lovetox
if you want that make a proposal
-
lovetox
but extension elements can be added by clients, and can of course be removed by them, this has nothing to do with profiles
-
pep.
Well if I could modify 402 right now to be a dumb list of bookmarks and a separate sync mechanism I would do it. But it's draft and I'm sure I'll get quite a few grumps
-
pep.
(so it's not "yet another bookmarks xep")
-
lovetox
so you dont want the bookmarks in PEP?
-
pep.
No that's not the point
-
pep.
I want real bookmarks
-
pep.
And maybe a separate syncing mechanism :)
-
lovetox
do you think when i talked about removing a item i talked about a bookmark?
-
pep.
what else?
-
lovetox
nobody removes bookmarks on leave
-
lovetox
we set the autojoin flag to false
-
lovetox
but dont remove the bookmark
-
flow
which sounds sensible IMHO
-
lovetox
if you have now profiles, the autojoin flag is not enoguh anymore
-
pep.
Well apparently some do, (or would), and I'm just trying to prevent that
-
lovetox
so you add a <profile name=mobil> into the extension
-
lovetox
which means, all clients that have this profile treat this like a autojoin flag
-
pep.
I'm fine with switching autojoin off. It still irks me that 402 is just another client sync mechanism but I can live with it if I have guarantees
-
lovetox
if such a client now leaves the MUC, he removes that profile node
-
lovetox
not the whole bookmark
-
lovetox
so other clients that have the profile dont join the MUC anymore
-
pep.
yeah
-
lovetox
but client that dont have the profile can still honor the not modified autojoin flag
-
lovetox
and that was just an idea out of the top of my head, if you have better proposal please come forward
-
pep.
yeah your proposal seemed fine, with the small detail I added in
-
lovetox
but i want to state, nobody wants to delete bookmarks :)
-
lovetox
but pep. everything you but in PEP is a sync thing or not?
-
lovetox
thats why PEP exists to sync shit
-
pep.
I guess you're missing my point
-
pep.
PEP is fine
-
lovetox
yeah i also think that, you want a "real" bookmark list?
-
pep.
Just a dumb bookmark list. without autojoin.
-
lovetox
dont know what this means, nobody deletes automatically bookmarks, so why would that not be a real bookmark list?
-
lovetox
why without autojoin? what do you gain if this is not in the XEP?
-
lovetox
can you not simply ignore it?
-
pep.
no because it changes the meaning of the XEP
-
pep.
I can ignore the huge monster in front of me and live my life as usual, that doesn't remove the huge monster in front of me (ish)
-
pep.
Now, as I said above, I'm happy with what you suggested in the thread. It doesn't change the underlying semantics to me, but that works
-
Link Mauve
There was a funny manga about that. :D
-
Link Mauve
Where a girl who can see monsters tries to ignore them but is scared by them anyway.
-
lovetox
pep., i dont even care about that, i dont even own a smartphone, and im joined 10 MUCs, i dont need profiles
-
lovetox
i just out of interest want to understand what you think :)
-
pep.
I don't especially have the same usage of phones or desktop / console clients
-
lovetox
i see autojoin as something you can ignore, other clients will modify it, but it will not change your bookmark list
-
pep.
lovetox, I would still have use for autojoin, I just don't think it fits in bookmarks and should be separate
-
pep.
Then you can have pointers to these bookmarks etc. and do howmanyxeps you want
-
lovetox
but that would be a pain in the ass with race conditions
-
lovetox
a bookmark list in pep, and then a autojoin list in pep
-
lovetox
i really dont want to think about it ^✎ -
lovetox
i really dont want to think about it ^^ ✏
-
pep.
Maybe the whole thing is flawed :x
-
lovetox
no it works fine, just be fine with it :)
-
pep.
I'll "just" ignore this message :p
-
pep.
I can't think of a proper name otherwise I'd propose something else for 402
-
pep.
To reflect the semantics
-
lovetox
great
-
lovetox
now is sleep time, good night
-
pep.
:)