Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 9, 2024
1 parent 1df8f38 commit c4a2392
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycrdt_websocket/yroom.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c4a2392

Please sign in to comment.