Global reformatting with black.
This commit is contained in:
parent
5ec4fdd787
commit
96bf3af324
1 changed files with 557 additions and 561 deletions
|
|
@ -232,7 +232,9 @@ class Autocrypt:
|
|||
post_treat.addCallback(partial(self._check_headers, client))
|
||||
return True
|
||||
|
||||
async def add_autocrypt_header(self, client, mess_data: MessageDataLegacy) -> MessageDataLegacy:
|
||||
async def add_autocrypt_header(
|
||||
self, client, mess_data: MessageDataLegacy
|
||||
) -> MessageDataLegacy:
|
||||
to_jid = mess_data["to"]
|
||||
if await self.host.memory.disco.has_identity(
|
||||
client, "gateway", "smtp", jid.JID(to_jid.host)
|
||||
|
|
|
|||
Loading…
Reference in a new issue