Robin Redeker <[email protected]> wrote:

> _that_ would be even worse than a bare JID, as the resource part MUST
> NOT be empty. A resource string is always at least 1 character long.

I disagree. Having an empty C string as a resource is most of the time
a smaller issue than having it NULL because it's missing entirely.
And having an available presence from a bare JID is completely
undefined, whereas from a resource is defined. So, this would be only a
violation of the naming policies for resources, but not trigger
undefined behaviour.

-- 
Jonathan

Attachment: signature.asc
Description: PGP signature

Reply via email to