add app state update

This commit is contained in:
hjlarry
2025-09-09 14:24:37 +08:00
parent 8ff062ec8b
commit 2b908d4fbe
3 changed files with 43 additions and 2 deletions

View File

@ -207,6 +207,8 @@ def handle_collaboration_event(sid, data):
Handle general collaboration events, include:
1. mouseMove
2. varsAndFeaturesUpdate
3. syncRequest(ask leader to update graph)
4. appStateUpdate
"""
mapping = redis_client.get(f"ws_sid_map:{sid}")