Style fixes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
96e4ecf683
commit
545123773b
1 changed files with 1 additions and 2 deletions
|
@ -309,8 +309,7 @@ class XEP_0384(BasePlugin):
|
||||||
def _receive_device_list(self, msg: Message) -> None:
|
def _receive_device_list(self, msg: Message) -> None:
|
||||||
"""Handler for received PEP OMEMO_DEVICES_NS payloads"""
|
"""Handler for received PEP OMEMO_DEVICES_NS payloads"""
|
||||||
asyncio.ensure_future(
|
asyncio.ensure_future(
|
||||||
self._read_device_list(msg['from'],
|
self._read_device_list(msg['from'], msg['pubsub_event']['items']),
|
||||||
msg['pubsub_event']['items']),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
async def _read_device_list(self, jid: JID, items: Union[Items, EventItems]) -> None:
|
async def _read_device_list(self, jid: JID, items: Union[Items, EventItems]) -> None:
|
||||||
|
|
Loading…
Reference in a new issue