aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-common/src
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-08-11 16:12:16 +0200
committerChristophe Besson <cbesson@gmail.com>2026-08-11 16:12:16 +0200
commitb50750466622dd6cda0fc084d39dfce000ad0081 (patch)
treeeb888909a77a88d4f824f569301e02e65faef0f3 /packages/meshbay-common/src
parent8b02ae3a8d64dedb198284ac743378dd38ca31c4 (diff)
downloadmeshbay-b50750466622dd6cda0fc084d39dfce000ad0081.tar.gz
fix(ui): upload chunk size, cached file display, chat names, file delete, inline thumbnails
- Upload chunks capped at 64KB to avoid WebRTC DataChannel max-message-size - Show cached files immediately while WebRTC connects (tabs visible during connection) - Persist sender_name in chat store (SQLite) — no more UUID display in history - File delete action in menu (node admin only, enforced server-side) - FILE_DELETE / FILE_DELETE_ACK MNP message types - Inline image thumbnails in chat attachments (download+decrypt, Signal-style) - Member panel: "Owner" label instead of "Group admin" to avoid hub/group admin confusion - Create group page: hint about needing a node - Refresh index after chat file attachment upload Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-common/src')
-rw-r--r--packages/meshbay-common/src/meshbay_common/protocol.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/meshbay-common/src/meshbay_common/protocol.py b/packages/meshbay-common/src/meshbay_common/protocol.py
index 8da3ea0..4095215 100644
--- a/packages/meshbay-common/src/meshbay_common/protocol.py
+++ b/packages/meshbay-common/src/meshbay_common/protocol.py
@@ -33,6 +33,8 @@ class MNP:
GEK_RESPONSE = "gek_resp" # node delivers GEK over secure channel
FILE_UPLOAD = "file_upload" # client pushes file chunk to node
FILE_UPLOAD_ACK = "file_upload_ack" # node acknowledges chunk receipt
+ FILE_DELETE = "file_delete" # client requests file deletion
+ FILE_DELETE_ACK = "file_delete_ack" # node confirms deletion
EPHEMERAL_STREAM = "ephemeral_stream" # reserved — mobile live push