Revert part of previous commit. Return NotImplemented when object is not a valid JID

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent 4e8800f9