Assume that the stanza is from the server to which we are connected
kaidan didn't start anymore after my first try; it did segfault as soon as I try to start it again.
It turns out
~/.cache/kaidan/avatars/avatar_list.sha1 was corrupted because there was a checksum with no
jid associated to it. Removing that file fixes the segfault, but then it happens again.
Kaidan gets the stanza without the
from field which by reading the RFC (if I got it right) is optional:
When a client receives a stanza that does not include a 'from' attribute, it MUST assume that the stanza is from the server to which the client is connected.
I setup a fallback to the current
jid when the
from field is missing.
My server is a prosody 0.11.3, then it should be OK I guess.