Let the coordinator set a workspace's picture
CI / check (push) Canceled after 0s

update_workspace now takes an image media id (or null to remove the
picture). updateWorkspace writes image_media_id through
resolveWorkspacePicture, which only accepts the caller's own image and
deletes the picture it replaced, so a bot can never show someone else's
file or drop a picture it is still using.
This commit is contained in:
2026-10-22 21:10:06 +01:00
parent 34667581b6
commit a5eb2b6a95
6 changed files with 221 additions and 10 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "cobble",
"version": "0.1.2",
"version": "0.1.3",
"module": "index.ts",
"type": "module",
"private": true,