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
Pipeline #2062 passed with stages
in 1 minute and 12 seconds