summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index 9c99fb26..a2e59aa4 100644
--- a/src/core.py
+++ b/src/core.py
@@ -2531,7 +2531,7 @@ class Core(object):
try:
stanza = StanzaBase(self.xmpp, xml=ET.fromstring(arg))
if stanza.xml.tag == 'iq' and \
- stanza.xml.attrib.get('type') == 'get' and \
+ stanza.xml.attrib.get('type') in ('get', 'set') and \
stanza.xml.attrib.get('id'):
iq_id = stanza.xml.attrib.get('id')