From 3253d34c0a3088c98e7d54bc5f38c118bcbfde2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sat, 20 Jul 2019 16:35:18 +0200 Subject: basexmpp: Make origin-id opt-out MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- slixmpp/basexmpp.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'slixmpp/basexmpp.py') diff --git a/slixmpp/basexmpp.py b/slixmpp/basexmpp.py index 146b6086..02c0b21c 100644 --- a/slixmpp/basexmpp.py +++ b/slixmpp/basexmpp.py @@ -111,6 +111,9 @@ class BaseXMPP(XMLStream): #: outgoing messages an ID. self.use_presence_ids = True + #: XEP-0359 tag that gets added to stanzas. + self.use_origin_id = True + #: The API registry is a way to process callbacks based on #: JID+node combinations. Each callback in the registry is #: marked with: -- cgit v1.2.3