A warning occurs when joining a public room (chat.disroot.org)
Cris2760 opened this issue · comments
Cris2760 commented
WARN[0230] Got a presence without resource in 'from' - this is likely an error account=ivan1@testjabber.autonomia.digital component=session from=blackjackhookers@chat.disroot.org stanza="&{{jabber:client presence} blackjackhookers@chat.disroot.org ivan1@testjabber.autonomia.digital/nfakslny <nil> <nil> <nil> <x xmlns='vcard-temp:x:update'><photo/></x> <nil> <nil>}"
Cristian Naranjo commented
We noticed that when joining a room configured with a photo, a presence stanza with information about the photo is received:
<presence xmlns="jabber:client" from="room@chat.service.org" to="user@foo.server/bla">
<x xmlns="vcard-temp:x:update">
<photo>cdrdi7sbtfi8aanfc3e9d8ad2696b011396dezf8</photo>
</x>
</presence>
We will avoid to print warnings
for these kind of presence stanzas because we are not handling them yet.
Cristian Naranjo commented
Approved in user-test
, it's ready to code-review
Ola Bini commented
OK