-
Daniel
> as per summit discussion: https://gultsch.de/files/xep-mds.html I filled in some of the missing sections and incorporated the early feedback I received yesterday.
-
pep.
Daniel: > To update the the displayed item
-
pep.
Hmm so it's not possible to use the server help when not doing chat markers? :/
-
pep.
It'd have to keep wasting cycles sending pep stuff itself?
-
Daniel
That's the current idea yes
-
pep.
:/
-
pep.
Also.. > Receiving an outgoing message (for example via Message Carbons (XEP-0280) [1] or Message Archive Management (XEP-0313) [4]) SHOULD mark the chat as displayed up to the point of that message. This I mentioned yesterday, i'd rather have this implementation defined
-
pep.
Because my client is fetching mam doesn't mean I scrolled down
-
Daniel
But a different client likely has or there wouldn't be a message, no?
-
pep.
I can be reading the backlog and sending messages at the same time
-
pep.
In fact I do this pretty often
-
Kev
Marking as read should be an explicit step, I agree with (what I think) pep says.
-
Daniel
That's a valid argument. But if there is consensus around this I'd rather change the xep to say the opposite rather than make this implementation dependent
-
larma
I just checked and Slack also doesn't mark your messages as read just because you send one in the same channel
-
larma
Daniel, I would argue that it depends on the situation
-
larma
but then it's implementation dependent anyway what is considered "displayed"
-
larma
If I reply from within the Android notification in Conversations, I would certainly expect the message I'm replying to to be marked as displayed
-
Kev
Why, though? Given that read is a sequence state, rather than just that message.
-
pep.
larma: I wouldn't. What if I haven't read all in between
-
Kev
It seems quite reasonable to reply to a message in a notification without having read the rest of the chat.
-
larma
Sure, but you certainly read the message you are replying to, no?
-
pep.
The one message yes
-
Kev
Yes, but marking that read would mark the rest of the chat read, and that's not true.
-
Kev
This is a read-up-to marker, essentially, right?
-
pep.
Yeah that's what it is
-
larma
True, but that's an inherent issue with read-up-to markers
-
Kev
Read-up-to markers inherently have some issues, certainly, but I don't think marking things as read because the server saw an outgoing message is inherent.
-
larma
I agree to that, because the server lacks context that the client has
-
pep.
What's the issue here? Don't mark it as displayed, done :p
-
larma
that's why I said that the client might consider the sending of a message as a reason to mark a message as displayed
-
larma
which makes it implementation dependent if the client does it or not
-
larma
the server should not
-
Kev
> that's why I said that the client might consider the sending of a message as a reason to mark a message as displayed I misunderstood - I thought you were saying it was reasonable for the server to mark as read once the client had sent a message. I was arguing the wrong point.
-
pep.
Well in the case you mentioned, I would argue C shouldn't.
-
pep.
Oh
-
Kev
So I think 'server marks as read because client sends message' should not be implementation dependent - it should be 'MUST NOT'. While 'when a client chooses to mark as read', I would agree as being implementation dependent - as it heavily depends on the UI properties of the client.
-
larma
pep., well it depends on how many messages are unread for example. If there is a single message unread and that's what you got the notification for, a reply to this message can reasonably be assumed to mean that the message was read
-
larma
Kev, agreed.
-
pep.
larma: sure
-
pep.
Also why isn't it possible to allow that optimisation for one's own devices too? (my first comment). It's it something technical?
-
pep.
I mean the server optimisation thing
-
pep.
Without using markers
-
larma
Huh, you don't need to send chat markers, no?
-
pep.
Is it*
-
Daniel
Currently it is worded that you have to
-
pep.
> This specification provides a convenient process to synchronize a user’s own devices and informing the third party in one, single message. However letting the third party know is not always desirable, for example when the user has generally opted out of transmitting the displayed status or when a non-contact initiated a chat. In those cases the client MUST use the Publish-Subscribe (XEP-0060) [8] method instead of server-assist.
-
larma
Daniel, you mean https://gultsch.de/files/xep-mds.html#sect-id12 ?
-
Daniel
Because the server is removes the mds displayed and then would have to either route an empty stanza or drop the stanza✎ -
Daniel
Because the server removes the mds displayed and then would have to either route an empty stanza or drop the stanza ✏
-
larma
But you can still send a message with other content (like a reply) and at the same time send a mds <displayed /> that is stripped by the server, no?✎ -
larma
But you can still send a message with other content (like a reply) and within that include a mds <displayed /> that is stripped by the server, no? ✏
-
Daniel
Yes I think that would technically be allowed
-
Daniel
But weird timing
-
Kev
What about a headline to your bare JID containing only an MDS? :)
-
larma
What's the advantage over the pubsub thing? It's still one stanza to be sent with approximately same size
-
Kev
Advantage to the headline? Not much at all.
-
Daniel
My reasoning was that doing the regular pubsub publish is 'fine'
-
Kev
I think that's likely true. Or at least, I don't see why it isn't.
-
larma
Yeah, that's why I wouldn't consider it an "optimization" (which is what the <displayed /> thing is for)✎ -
larma
Yeah, that's why I wouldn't consider it an "optimization" (which is what the <displayed /> thing is for) (this was a reply to Kev's previous message) ✏
-
pep.
How so? Isn't that still one more step than not doing this optimisation? In one it's included in the one message sent, in the other the client had to send an additional pubsub query✎ -
pep.
How so? Isn't that still one more step than not doing this optimisation? In one it's included in the one message sent, in the other the client has to send an additional pubsub query ✏
-
pep.
(which is also broadcasted back to the sender, not so useful. But I guess that's pubsub..)
-
pep.
(though that can be configured maybe?)
-
Daniel
If you are counting stanzas both approaches currently in the xep have the same number of stanzas
-
Daniel
One is just a bit smaller
-
pep.
Wait you mean for this "optimisation" that's an additional message?
-
pep.
Not included in the original?
-
Daniel
If you are doing the server assist you put both displayed in one message (and thus let your contact know) If you are doing pubsub publish you do one pubsub publish
-
Daniel
And no message
-
pep.
Ok I've never actually used 333, I didn't think it had to be a seperate step✎ -
pep.
Ok I've never actually read 333 (I dont use it), I didn't think it had to be a seperate step ✏
-
pep.
(does it?)
-
Daniel
Separate to what?
-
pep.
Why not send mds in example 7, what's the case against it?
-
Daniel
That's the incoming message
-
Daniel
The one Juliet is going to read
-
pep.
Ah pff ok. But juliet could have included it too right?
-
Daniel
Whether or not Romeo did mds on his end is irrelevant
-
pep.
Fail, Romeo* could have included it too
-
pep.
Well that's my question
-
Daniel
But usually Romeo likely wouldn't do either displayed in the same message that he puts a body in
-
pep.
Why not
-
Daniel
Because the read would have happened earlier
-
Daniel
Then typing the response
-
pep.
Hmm
-
Daniel
There should be a markable in example 7 though...
-
pep.
Ok I see
-
Daniel
(note to self)