-
qy
There's never a situation where you have to send <error/> right?
-
lovetox
i dont understand the question
-
lovetox
<error/> in what context, message, iq, presence?
-
lovetox
there are a million situation where you need to answer with an error
-
qy
No i mean error itself
-
qy
Error is a toplevel tag, no?
-
qy
But iirc it's only recieved
-
Zash
Did you mean `<stream:error/>` ?
-
qy
I don't know, maybe?
-
qy
Is it just m,i,p as the toplevel session tags?
-
qy
I thought there was one other
-
Zash
There are only those three as stanzas
-
qy
Guess i was high or something, nevermind
-
qy
Thanks
-
Zash
Stanzas being things that can be routed throughout the network.
-
qy
Yeah
-
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.
-
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
-
qy
Ah ok, maybe thats what i was thinking of