-
singpolyma
No, the fallback just says that the body is just a fallback and not to use it (or that part of it is)
-
ubq323
i see
-
ubq323
well, i think
-
ubq323
anyway, it would be nice if there was somewhere where things like this were documented
-
ubq323
it's not obvious to anyone implementing xep-0066 that you need the url and message body to match
-
ubq323
(in fact, that xep contains an example where they directly don't)
-
singpolyma
Well, you don't
-
singpolyma
You just do if you want certain clients to behave in certain ways. Arguably those clients are wrong
-
Schimon
I would be thankful if anyone, who is familiar with 4.5 Node Access Models, would guide me and test whether this is implemented correctly on Blasta. https://xmpp.org/extensions/xep-0060.html#accessmodels✎ -
Schimon
Good day! I would be thankful if anyone, who is familiar with 4.5 Node Access Models, would guide me and test whether this is implemented correctly on Blasta. https://xmpp.org/extensions/xep-0060.html#accessmodels ✏
-
Schimon
https://xmpp.pimux.de/file_share/a1ff98f3-612b-4926-8ae2-7e725720fd76/scrot-rofi_20240815-123353.png
-
Schimon
Is it possible to make an item, of an open node, private by setting Affiliation? https://xmpp.org/extensions/xep-0060.html#affiliations
-
ubq323
singpolyma: well, i do want clients to behave in certain ways. why else would i even be implementing this spec?
-
ubq323
i agree that it's unfortunate when actual implementations differ from the prescribed spec
-
ubq323
it'd still be nice to have somewhere where this difference can be documented though, that's all i'm saying
-
lovetox
ubq323, but thats kind of a recipe for failure, you writing code in your client in the hope that a different client behaves in a certain way
-
ubq323
if i stick exactly to the spec then the client doesn't do what i want
-
ubq323
if i add the extra restriction, that the two things must match, then the client does do what i want
-
lovetox
not sure i get you, 0066 is a spec to communicate a link
-
ubq323
certain clients display the image as a nice embed
-
ubq323
rather than just rendering the url
-
lovetox
but thats not the idea of the spec and none of its goals
-
ubq323
the ones i have tested on, only do this when the <body> of the message exactly matches the <url>
-
lovetox
a transport protocol spec does not mandate how a client need to build his GUI
-
ubq323
well, is there another spec specifically for telling clients to display images inline?
-
lovetox
why do you want to mandate how my GUI looks like from your remote client?
-
ubq323
i want images to display inline in my client
-
lovetox
just communicate the information that you want to communicate, and let clients do what they feel is best
-
lovetox
ubq323, then programm a client that displays images inline when it receives a link via oob
-
lovetox
you are talking about stuff that you want *other* clients do
-
ubq323
surely the purpose of a chat protocol is to specify what thnigs you want to appear on other people's screen?
-
lovetox
Oo not at all .. not sure where you get this idea from
-
ubq323
like, sending an image to someone is quite a common thing to do
-
ubq323
why must it be so difficult to do that?
-
lovetox
its not difficult, send the information .. and thats what the spec is for
-
lovetox
if you are not happy what a client does with this information, file a feature or bug request on their tracker
-
ubq323
it doesn't seem so unreasonable to me to have a spec specifically for displaying images inline
-
ubq323
maybe we just disagree on the goals and scope of xmpp
-
ubq323
to put it another way: many clients implement displaying images inline. the purpose of specifications is to standardize client behavior. therefore, it seems like a good idea to standardize exactly how to get clients that support this feature to display things inline
-
ubq323
if the spec just says "here is a way to, abstractly, transfer information about out-of-band files; clients can interpret that how they want", and then clients interpret it differently, then what's the point in having a spec in the first place?
-
Kev
> the purpose of specifications is to standardize client behavior Well, no. The purpose is to allow interop.
-
ubq323
what does interop mean to you?
-
lovetox
transfering information in a standardized and well defined way
-
lovetox
would be my guess
-
lovetox
you give me the informations i need, but its still my decision what i do with it, and the goal of XMPP is to transfer the information, not tell a client how it displays it to the user (at least in most cases)
-
lovetox
we have multiple terminal clients, guess what they cannot display images ..
-
lovetox
but thats fine, because they users chose the client knowing about that
-
lovetox
and users that want to have images displayed inline, will maybe choose your client, because thats what you do
-
ubq323
i see your point
-
ubq323
i still think it would be good if the clients that did display images inline, documented the precise circumstances under which they do that
-
lovetox
the way some clients do it now is a historical hack, that all just did without much asking why
-
lovetox
im perfectly fine with removing that hack in Gajim to be honest
-
ubq323
is there a more modern way to do the same thing?
-
lovetox
yes there are a few competing xeps let me look them up
-
lovetox
https://xmpp.org/extensions/xep-0385.html
-
lovetox
https://xmpp.org/extensions/xep-0447.html
-
lovetox
but support for them varies greatly
-
lovetox
but at least one of the two is the future where everything migrates to
-
lovetox
this is a federated environment, you will never achieve that every client does what you want
-
lovetox
i would concentrate to try to do the right thing, and discuss with other developers, so they eventually will also do the right thing
-
ubq323
that's understandable
-
lovetox
sometimes this means, you are the first one that does the right thing
-
lovetox
but often it needs someone to start, and then others follow :)
-
lovetox
or you show users how something looks good, and then those users bug other developers and tell them, hey look client X does this really nice
-
lovetox
but anyway, the whole oob thing is not a thing to be proud of in the community and definitly something we should get rid of
-
lovetox
you are not the first one to notice that
-
ubq323
that makes sense
-
ubq323
thanks for explaining
-
singpolyma
> im perfectly fine with removing that hack in Gajim to be honest Would be nice ↺
-
moparisthebest
> we have multiple terminal clients, guess what they cannot display images .. lovetox: no longer true https://github.com/hackerb9/lsix š ↺
-
jonasā
moparisthebest, but none of the clients implements sixels, do they?
-
moparisthebest
No idea, just pointing out that they could (:
-
MattJ
Didn't Link Mauve implement it for poezio? or was that something else?
-
jonasā
no I think that was simple ANSI-block-graphics with colours
-
MattJ
ubq323, https://docs.modernxmpp.org/client/protocol/#communicating-the-url
-
jonasā
I don't think it was sixels
-
jonasā
(and that never hit mainline I think)
-
moparisthebest
Wow I was only vaguely aware of sixels but had no idea it was defined in 1988 ? TIL
-
singpolyma
Yeah there have been forks of eg w3m with graphics for a long time
-
jonasā
`mpv --vo=sixel --really-quiet` if you like to watch movies really choppily in your terminal
-
MSavoritias (fae,ve)
ah of course mpv supports that