Commit 55cd5e3b authored by Daniel Brötzmann's avatar Daniel Brötzmann
Browse files

[form_handler] Use nbxmpp Namespace

parent a96421fe
Pipeline #8623 canceled with stage
......@@ -16,8 +16,8 @@
import logging
import nbxmpp
from nbxmpp.modules.dataforms import extend_form
from nbxmpp.namespaces import Namespace
from gajim.common import ged
......@@ -45,7 +45,7 @@ class FormHandlerPlugin(GajimPlugin):
def _on_message_received(self, event):
form = event.stanza.getTag('x', namespace=nbxmpp.NS_DATA)
form = event.stanza.getTag('x', namespace=Namespace.DATA)
if form is 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