On 28 July 2015 at 10:11, Edwin Mons <[email protected]> wrote: > On 28/07/15 11:05, Dave Cridland wrote: > > > Also, why wrap the server notification in a message, >> >> And not using a Nonza? Because most libraries provide a mechanism for >> callbacks matching a given filter only for Stanzas. It's my impression >> as as XMPP client library developer, that we don't want Nonzas to >> trigger callbacks on the client side, as it would increase the >> complexity of XMPP client software stacks. >> >> > It's very wrong. > > Consider a case where the client goes active, then switches to inactive > but loses connection and recovers via '198. The response - which is tightly > bound to the session - would indicate that the client was inactive, but > would arrive on a subsequent connection which is not inactive. > > > If you're doing in-band signalling, you really need to be able to > distinguish signals from actual data. If you use stanzas, you're making it > very hard for yourself. >
I'm considering writing an I-D for likes for email just for this.
