encrypt*Message: use named parameter for bundles
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
05e6ff3b8e
commit
f00580e268
1 changed files with 2 additions and 2 deletions
|
@ -767,7 +767,7 @@ class XEP_0384(BasePlugin):
|
|||
encrypted = await self._omemo().encryptMessage(
|
||||
barejids,
|
||||
plaintext.encode('utf-8'),
|
||||
self.bundles,
|
||||
bundles=self.bundles,
|
||||
expect_problems=expect_problems,
|
||||
)
|
||||
elif _ignore_trust:
|
||||
|
@ -780,7 +780,7 @@ class XEP_0384(BasePlugin):
|
|||
else:
|
||||
encrypted = await self._omemo().encryptKeyTransportMessage(
|
||||
barejids,
|
||||
self.bundles,
|
||||
bundles=self.bundles,
|
||||
expect_problems=expect_problems,
|
||||
)
|
||||
return _generate_encrypted_payload(encrypted)
|
||||
|
|
Loading…
Reference in a new issue