jdev - 2021-07-01


  1. jubalh

    xep-0191 doesn't seem to have a 'from' in the IQ. xep-0377 seems to have a 'from' in the same (?) IQ. Do I see it right that it's not needed?

  2. Zash

    This is XMPP Core stuff.

  3. Zash

    Clients don't need to include the 'from' attribute, it's always overwritten by the server.

  4. jubalh

    i see

  5. MattJ

    In examples it's sometimes useful to be clear about who is sending a stanza, but a real client should never add a from

  6. jubalh

    ok :)

  7. MattJ

    Or heed the 'to' (another common mistake)

  8. MattJ

    On incoming stanzas

  9. Kev

    Hmm? But the ‘to’ *can* tell you things.

  10. Kev

    Although I guess they’re of minimal interest.

  11. MattJ

    I've never needed this attribute for anything client-side, ever. On the other hand I have seen other implementations broken by observing it (incorrectly) on many occasions.

  12. Kev

    That seems likely.