fix module name
This commit is contained in:
parent
88e9683ee2
commit
cae8faf0ed
|
@ -572,7 +572,7 @@ class CommandWindow:
|
|||
"""
|
||||
Request the command list. Change stage on delivery
|
||||
"""
|
||||
query = nbxmpp.Iq(typ='get', to=xmpp.JID(self.jid),
|
||||
query = nbxmpp.Iq(typ='get', to=nbxmpp.JID(self.jid),
|
||||
queryNS=nbxmpp.NS_DISCO_ITEMS)
|
||||
query.setQuerynode(nbxmpp.NS_COMMANDS)
|
||||
|
||||
|
|
|
@ -2656,10 +2656,10 @@ class Connection(CommonConnection, ConnectionHandlers):
|
|||
"""
|
||||
message = nbxmpp.Message(to=room)
|
||||
|
||||
x = xmpp.DataForm(typ='submit')
|
||||
x.addChild(node=xmpp.DataField(name='FORM_TYPE',
|
||||
x = nbxmpp.DataForm(typ='submit')
|
||||
x.addChild(node=nbxmpp.DataField(name='FORM_TYPE',
|
||||
value=nbxmpp.NS_MUC + '#request'))
|
||||
x.addChild(node=xmpp.DataField(name='muc#role', value='participant',
|
||||
x.addChild(node=nbxmpp.DataField(name='muc#role', value='participant',
|
||||
typ='text-single'))
|
||||
|
||||
message.addChild(node=x)
|
||||
|
|
|
@ -1722,7 +1722,7 @@ ConnectionJingle, ConnectionIBBytestream):
|
|||
gajim.jid_is_transport(obj.fjid) or obj.jid in self.jids_for_auto_auth \
|
||||
or obj.transport_auto_auth:
|
||||
if self.connection:
|
||||
p = xmpp.Presence(obj.fjid, 'subscribed')
|
||||
p = nbxmpp.Presence(obj.fjid, 'subscribed')
|
||||
p = self.add_sha(p)
|
||||
self.connection.send(p)
|
||||
if gajim.jid_is_transport(obj.fjid) or obj.transport_auto_auth:
|
||||
|
|
Loading…
Reference in New Issue