Don't raise errors when receiving an iq error for vcards.
This commit is contained in:
@@ -114,7 +114,7 @@ class XEP_0054(BasePlugin):
|
|||||||
iq.reply()
|
iq.reply()
|
||||||
iq.append(vcard)
|
iq.append(vcard)
|
||||||
iq.send()
|
iq.send()
|
||||||
else:
|
elif iq['type'] == 'set':
|
||||||
raise XMPPError('service-unavailable')
|
raise XMPPError('service-unavailable')
|
||||||
|
|
||||||
# =================================================================
|
# =================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user