-
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?
-
Zash
This is XMPP Core stuff.
-
Zash
Clients don't need to include the 'from' attribute, it's always overwritten by the server.
-
jubalh
i see
-
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
-
jubalh
ok :)
-
MattJ
Or heed the 'to' (another common mistake)
-
MattJ
On incoming stanzas
-
Kev
Hmm? But the ‘to’ *can* tell you things.
-
Kev
Although I guess they’re of minimal interest.
-
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.
-
Kev
That seems likely.