summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-12-28 17:16:35 +0100
committermathieui <mathieui@mathieui.net>2013-12-28 17:16:35 +0100
commitf9e70fa656edc0af4477a90d3ec9122faa9bce15 (patch)
tree19e3822607bcf2544223a761ae56eb9467ae3cff
parent83b44c863ecbecab4dbd7d05d4ad4973a1293781 (diff)
downloadpoezio-f9e70fa656edc0af4477a90d3ec9122faa9bce15.tar.gz
poezio-f9e70fa656edc0af4477a90d3ec9122faa9bce15.tar.bz2
poezio-f9e70fa656edc0af4477a90d3ec9122faa9bce15.tar.xz
poezio-f9e70fa656edc0af4477a90d3ec9122faa9bce15.zip
Previous commit with get/set
-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')