Don't raise errors when receiving an iq error for vcards.
This commit is contained in:
parent
8b47159788
commit
1cf55c14b0
@ -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')
|
||||||
|
|
||||||
# =================================================================
|
# =================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user