feat(bridge,ui): preserve file names and use system opener
- Add mattermost-download-dir custom (default ~/Downloads) - Pass file_name and download_dir in download_file request - Save files with original names in user-configured directory - Open downloaded files via xdg-open (system default application)
This commit is contained in:
@@ -42,6 +42,11 @@ If `inline', show replies in the main buffer."
|
||||
:type 'string
|
||||
:group 'mattermost)
|
||||
|
||||
(defcustom mattermost-download-dir "~/Downloads"
|
||||
"Directory where downloaded files are saved."
|
||||
:type 'directory
|
||||
:group 'mattermost)
|
||||
|
||||
(defface mattermost-sender-face
|
||||
'((t (:weight bold)))
|
||||
"Face used for message sender names in channel buffers."
|
||||
|
||||
Reference in New Issue
Block a user