Skip to content
Snippets Groups Projects
Commit ebb90104 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix module name

parent 8bbe25ce
No related branches found
No related tags found
No related merge requests found
......@@ -813,7 +813,7 @@ class EncryptedStanzaSession(ArchivingStanzaSession):
# the offset of the group we chose (need it to match up with the dhhash)
group_order = 0
self.modp = int(form.getField('modp').getOptions()[group_order][1])
x.addChild(node=xmpp.DataField(name='modp', value=self.modp))
x.addChild(node=nbxmpp.DataField(name='modp', value=self.modp))
g = dh.generators[self.modp]
p = dh.primes[self.modp]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment