aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/src/meshbay_node/transport/webrtc/dispatch.py
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-09 12:16:51 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-09 12:17:38 +0200
commit4ae61dc4e1dcca6ae24131fcd9acc55124e3c0af (patch)
tree44fd15f6175ade9b0b884f846dfd9d66e2b3bc80 /packages/meshbay-node/src/meshbay_node/transport/webrtc/dispatch.py
parent6832df6177ad973ad0e1b4f0a49d7a6da06c6e04 (diff)
downloadmeshbay-4ae61dc4e1dcca6ae24131fcd9acc55124e3c0af.tar.gz
feat: let the operator purge a group's chat (MNP 6.1)
Signed chat_purge from the Chat settings deletes every stored message; epoch keys and attachments stay. The ack is broadcast so open chat panels empty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/transport/webrtc/dispatch.py')
-rw-r--r--packages/meshbay-node/src/meshbay_node/transport/webrtc/dispatch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/transport/webrtc/dispatch.py b/packages/meshbay-node/src/meshbay_node/transport/webrtc/dispatch.py
index a8b5767..5d4ed94 100644
--- a/packages/meshbay-node/src/meshbay_node/transport/webrtc/dispatch.py
+++ b/packages/meshbay-node/src/meshbay_node/transport/webrtc/dispatch.py
@@ -56,6 +56,7 @@ _HANDLERS = {
MNP.CHAT_LINK_PREVIEW: ("_do_chat_link_preview", INLINE),
MNP.SEARCH_LISTED: ("_do_search_listed", INLINE),
MNP.CHAT_EPOCH: ("_do_chat_epoch", INLINE),
+ MNP.CHAT_PURGE: ("_do_chat_purge", INLINE),
MNP.CHAT_KEYS_REQ: ("_do_chat_keys_req", SPAWNED),
MNP.GROUP_ROSTER_REQ: ("_do_group_roster_req", SPAWNED),
MNP.MEDIA_META_REQ: ("_do_media_meta_request", SPAWNED),