diff --git a/pycrdt_websocket/yroom.py b/pycrdt_websocket/yroom.py index d789661..46c0085 100644 --- a/pycrdt_websocket/yroom.py +++ b/pycrdt_websocket/yroom.py @@ -21,10 +21,10 @@ Subscription, YMessageType, YSyncMessageType, + create_awareness_message, create_sync_message, create_update_message, handle_sync_message, - create_awareness_message, ) from .websocket import Websocket @@ -317,7 +317,7 @@ def local_update_awareness(self, type: str, changes: dict[str, Any]) -> None: if self._task_group is not None: updated_clients = [ *changes[0].get("added", []), - *changes[0].get("filtered_updated", []) + *changes[0].get("filtered_updated", []), ] state = self.awareness.encode_awareness_update(updated_clients) message = create_awareness_message(state)