jdev - 2022-03-20


  1. qy

    There's never a situation where you have to send <error/> right?

  2. lovetox

    i dont understand the question

  3. lovetox

    <error/> in what context, message, iq, presence?

  4. lovetox

    there are a million situation where you need to answer with an error

  5. qy

    No i mean error itself

  6. qy

    Error is a toplevel tag, no?

  7. qy

    But iirc it's only recieved

  8. Zash

    Did you mean `<stream:error/>` ?

  9. qy

    I don't know, maybe?

  10. qy

    Is it just m,i,p as the toplevel session tags?

  11. qy

    I thought there was one other

  12. Zash

    There are only those three as stanzas

  13. qy

    Guess i was high or something, nevermind

  14. qy

    Thanks

  15. Zash

    Stanzas being things that can be routed throughout the network.

  16. qy

    Yeah

  17. Link Mauve

    qy, sending a stream error is to be done only when you know the stream is broken beyond repair, but still want to notify the other end of why you think so.

  18. Zash

    Non-stanzas that are only sent to whoever is the other end of your connection/stream can be defined and a few exist, like `<stream:features/>`, `<stream:error/>`, `<{urn:xmpp:sm:2}r/>` etc

  19. qy

    Ah ok, maybe thats what i was thinking of