diff --git a/slixmpp_omemo/__init__.py b/slixmpp_omemo/__init__.py index b22ae49..6352c53 100644 --- a/slixmpp_omemo/__init__.py +++ b/slixmpp_omemo/__init__.py @@ -309,8 +309,7 @@ class XEP_0384(BasePlugin): def _receive_device_list(self, msg: Message) -> None: """Handler for received PEP OMEMO_DEVICES_NS payloads""" asyncio.ensure_future( - self._read_device_list(msg['from'], - msg['pubsub_event']['items']), + self._read_device_list(msg['from'], msg['pubsub_event']['items']), ) async def _read_device_list(self, jid: JID, items: Union[Items, EventItems]) -> None: