Commit f2a4cdf0 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Use generate_id() instead of get_stanza_id()

parent bc2870f8
......@@ -45,7 +45,7 @@ from nbxmpp.const import ConnectionProtocol
from nbxmpp.const import Mode
from nbxmpp.dispatcher import StanzaDispatcher
from nbxmpp.util import get_stream_header
from nbxmpp.util import get_stanza_id
from nbxmpp.util import generate_id
from nbxmpp.util import Observable
from nbxmpp.util import validate_stream_header
from nbxmpp.util import LogAdapter
......@@ -576,7 +576,7 @@ class Client(Observable):
id_ = stanza.getID()
if id_ is None:
id_ = get_stanza_id()
id_ = generate_id()
if callback is not None:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment