diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-08-20 22:21:24 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-08-20 22:21:24 +0200 |
| commit | ae52b69b14a6997d01aad66f49fbea7b5ca2dfe6 (patch) | |
| tree | 26f850a88565846a139868a4b85c715734751a41 /packages/meshbay-hub/src/meshbay_hub/api/revocation.py | |
| parent | c8af746c846b5dbc792f7e4f0d806647d513cc5c (diff) | |
| parent | 2e9490ca27047ae03e495d397abbe1aec1b2273a (diff) | |
| download | meshbay-ae52b69b14a6997d01aad66f49fbea7b5ca2dfe6.tar.gz | |
Merge feat/unified-group-management: wizard, public groups, activity sidebar
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/api/revocation.py')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/api/revocation.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/api/revocation.py b/packages/meshbay-hub/src/meshbay_hub/api/revocation.py index d555f9f..003e396 100644 --- a/packages/meshbay-hub/src/meshbay_hub/api/revocation.py +++ b/packages/meshbay-hub/src/meshbay_hub/api/revocation.py @@ -285,6 +285,11 @@ async def node_websocket(ws: WebSocket): elif msg.get("type") == "webrtc_answer": from meshbay_hub.api.signaling import handle_webrtc_answer handle_webrtc_answer(msg) + elif msg.get("type") == "update_groups": + new_gids = msg.get("group_ids", []) + _node_groups[node_id] = new_gids + await _mark_hosted(new_gids) + log.info("Node %s updated groups: %d", node_id[:8], len(new_gids)) elif msg.get("type") == "chat_notify": asyncio.ensure_future(_handle_chat_notify( msg.get("group_id", ""), |