Identity not set without resource
I set identity with:
def __init__(self, jid, password):
super().__init__(jid, password)
# ...
self.register_plugin('xep_0030') # Service Discovery
# ...
self['xep_0030'].add_identity(
jid=self.boundjid,
category='client', itype='bot',
name="somevalue"
)
When i login with JID + resource, all works as expected. But when i login without resource, the default one is returned (without name).