aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/assistant/Files.js
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/assistant/Files.js')
-rw-r--r--desktop/assistant/Files.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/assistant/Files.js b/desktop/assistant/Files.js
index bcbd9bc..bea1841 100644
--- a/desktop/assistant/Files.js
+++ b/desktop/assistant/Files.js
@@ -28,8 +28,9 @@ const IMAGE = [".png", ".jpg", ".jpeg", ".gif", ".webp"];
const VIDEO = [".mp4", ".mkv", ".webm", ".mov", ".avi", ".m4v"];
const ARCHIVE = [".zip", ".tar", ".gz", ".tgz", ".xz", ".txz", ".bz2", ".zst", ".7z", ".rar"];
-// Kinds chat takes; the rest only get local actions.
-const CHAT = ["text", "code", "image", "pdf"];
+// Kinds chat takes; the rest only get local actions. A video goes as its
+// path only, for the video tool.
+const CHAT = ["text", "code", "image", "pdf", "video"];
function name(path) { return path.slice(path.lastIndexOf("/") + 1); }