On Fri, Jul 16, 2021, at 08:55, Jonas Schäfer wrote:
> How is a nonza different from an IQ, if both happen post-resource-
> binding, as I understand from your text?

This is not what the PR says (see next section). I would be curious what
made it sound like that though, this should be fixed but reading and re-
reading it I can't find anything that makes me think this.


> If the nonza (from the stream feature) were allowed to be sent
> *before* resource binding, then there would be an interesting case
> where you could announce to the server that you want carbons before
> the first message is delivered. It doesn't fix the issue with MAM, but
> at least you know that from the point on your resource was bound, you
> got a complete picture of all (carbons-eligible) messages received on
> the account, which is somewhat nice.

That is what I'm trying to fix here and exactly what this does. This is
a stream feature that gets negotiated pre-reource-binding and enables
carbons immediately after resource binding but before any stanzas can
be received.

> Though I should mention that you could also simply ignore all incoming
> messages until you get a reply to your carbons IQ and you had
> approximately the same sync point (due to the in-order requirement of
> stanza processing in XMPP).

Servers could do this if they *know* the client is planning on enabling
carbons, but if that's the case they might as well just enable carbons
from the get-go (and that will never be the case).

If you mean that clients can do this then I don't understand how it
would solve anything, they can just ignore messages, but that seems
bad and carbons still wouldn't have been enabled for them which is
the point.

—Sam
_______________________________________________
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: [email protected]
_______________________________________________

Reply via email to