-
rom1dep
I'm willing to die on this hill, though, that a client that "shows you something but sends something else to the rest of the world, and gives no indication of it" isn't one that most people would want to trust with their messages
-
MSavoritias (fae,ve)
Completely agree
-
MattJ
Well, welcome to XMPP. It sounds like a network with a diverse ecosystem of software isn't what you're looking for 🙂
-
MattJ
I only ever see links in my (terminal-based) client
-
jonas’
MattJ, "shows you something and sends something else" is different from "sends something which other clients may intrepret less fancily"
-
MSavoritias (fae,ve)
Yep
-
jonas’
(the first sounds like a violation of intent, while the second is, indeed, what you'd expect in a federated network)
-
rom1dep
> (the first sounds like a violation of intent, while the second is, indeed, what you'd expect in a federated network) 👆
-
Menel
With message retraction, the retracting client shows, "it has been deleted", but my client will show the original and a message about the attempt ¯\_ (ツ) _/¯
-
MSavoritias (fae,ve)
And?
-
MattJ
jonas’ [08:48]: > MattJ, "shows you something and sends something else" is different from "sends something which other clients may intrepret less fancily" Sorry, I don't see a distinction in practice. Either way you can't guarantee what someone is going to see on the other side.
-
jonas’
MattJ, the first one at least tries
-
jonas’
the first case sounds like the order of magnitude of a client adding a "not" before every verb.
-
jonas’
(but only on the wire)
-
MattJ
That's not what is happening in the issue that sparked this discussion though
-
MattJ
What Dino sends on the wire matches what it displays to the user
-
jonas’
scrollback, how does it work
-
MSavoritias (fae,ve)
But it is seen as a "bug" which is what was discussed here
-
MattJ
Yeah, and I think it's a stretch to call it a bug
-
jonas’
it's a bug if it violates user expectations, isn't it?
-
MattJ
To be clear the two cases are mod_pastebin changing long text to a link, and mod_restrict_media stripping oob tags
-
lovetox
i never understood the word bug as violating user expactations
-
lovetox
a bug is when the software does not what the *developer* intended
-
MattJ
Every user has different expectations
-
lovetox
not what the user wished it would do
-
jonas’
so we're talking about the <oob/> removal?
-
jonas’
right
-
MattJ
They're both the same category I believe
-
jonas’
I would wish for dino to show what the server did, because that also helps with servers which *have* to change even the text (looking at you, biboumi)
-
jonas’
are there words in modernxmpp on this topic?
-
jonas’
seems like there should be, i.e. "what to do if the MUC reflection differs from what we sent"
-
MattJ
It's not covered there, no
- jonas’ puts it on his now actually existing todo list
-
MattJ
I doubt it would sway larma if it was 🙂
-
jonas’
may or may not, but "we" should form a consensus on what clients should do nontheless, IMO
-
lovetox
but the biboumi stuff is weird
-
lovetox
so it splits my message in 3
-
lovetox
does one of the 3 messages actually have the message id i added?
-
Kev
What the server sends is the definitive form. I think it's fine for clients to show the sent form until the definitive form is received, as long as they mark it as transient and replace it when received.
-
lovetox
biboumi is kind of special case, its not mere rewriting a body or message
-
lovetox
it adds a inifinite amount of new messages instead
-
jonas’
lovetox, yes, all have message IDs, and the first one will be clearly associated to your original message
-
MattJ
Kev, except that's not written anywhere
-
Kev
Sure. It was a response to Jonas asking for what we should do.
-
jonas’
(via origin-id passing or @id passing)
-
lovetox
that would actually be a good use of origin id?
-
lovetox
if all 3 new message have the origin-id set to the original message-id?
-
MattJ
Hah, making origin-id not unique? That would be great :P
-
jonas’
dear lord
-
lovetox
:D
-
jonas’
but eh
-
jonas’
I'm on board with that
-
jonas’
but how would you know the splitting of your message had completed....
-
lovetox
but yeah .. this is problematic i think gajim also expects only one message in the database with a unique origin id
-
flow
why not add an element to the reflected parts: <split-from origin-id="foo" part="1"/>?
-
jonas’
would wfm
-
Menel
Only for bimboumi? Does it change anything for anyone?
-
flow
maybe some can put this information to good use, maybe not. but it appears trivial to add, so it seems worth a try, err experiment