summaryrefslogtreecommitdiff
path: root/sleekxmpp/stanza/iq.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-04-08 16:41:45 -0400
committerLance Stout <lancestout@gmail.com>2011-04-08 16:41:45 -0400
commit6b0593857352c851ce2e55743802ab5fbdd81f5f (patch)
tree6decf0c5a752eb498044fca2c034dd57418024f2 /sleekxmpp/stanza/iq.py
parent77601f7262370ba172966352a94575ec02b4a776 (diff)
parent2e1befc8c6e3092b773a8c297bc183823c2eaeed (diff)
downloadslixmpp-6b0593857352c851ce2e55743802ab5fbdd81f5f.tar.gz
slixmpp-6b0593857352c851ce2e55743802ab5fbdd81f5f.tar.bz2
slixmpp-6b0593857352c851ce2e55743802ab5fbdd81f5f.tar.xz
slixmpp-6b0593857352c851ce2e55743802ab5fbdd81f5f.zip
Merge branch 'develop' into roster
Diffstat (limited to 'sleekxmpp/stanza/iq.py')
-rw-r--r--sleekxmpp/stanza/iq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/stanza/iq.py b/sleekxmpp/stanza/iq.py
index 2bfbc7b1..82ab13ec 100644
--- a/sleekxmpp/stanza/iq.py
+++ b/sleekxmpp/stanza/iq.py
@@ -77,7 +77,7 @@ class Iq(RootStanza):
StanzaBase.__init__(self, *args, **kwargs)
if self['id'] == '':
if self.stream is not None:
- self['id'] = self.stream.getNewId()
+ self['id'] = self.stream.new_id()
else:
self['id'] = '0'