mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 11:09:56 +00:00
Use underscore method name.
Since camelcase names are aliased to the underscored name at startup, if the underscored version is replaced later, the camelCase name does not reflect the change.
This commit is contained in:
parent
d94811d81d
commit
d7ba7cc72a
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue