aboutsummaryrefslogtreecommitdiff
path: root/ui/command-processor.go
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-08-14 00:01:18 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-14 00:01:53 +0200
commitdf3252ca6ee12bafafb5aaed298193142ff93248 (patch)
treeb51e6d6f858be3184b25f468d0c564346fc153cc /ui/command-processor.go
parent0d12947b1f70745d8023c89e22432f2a1353dfbb (diff)
Add /upload command to upload image/video (jpeg, png, webm and mp4)
Requires ffmpeg and ffprobe (which is part of ffmpeg) programs to be installed on the system
Diffstat (limited to 'ui/command-processor.go')
-rw-r--r--ui/command-processor.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/command-processor.go b/ui/command-processor.go
index 514d67b..21155fa 100644
--- a/ui/command-processor.go
+++ b/ui/command-processor.go
@@ -133,6 +133,7 @@ func NewCommandProcessor(parent *MainView) *CommandProcessor {
"redact": cmdRedact,
"react": cmdReact,
"download": cmdDownload,
+ "upload": cmdUpload,
"open": cmdOpen,
"copy": cmdCopy,
"sendevent": cmdSendEvent,