Skip to content

Commit 9df7f55

Browse files
viiru-Arto Jantunen
authored andcommitted
Add bindings for downloading event media
Bind this to both the room keymap, and the transient with the key "D" (for download).
1 parent 69269da commit 9df7f55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ement-room.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ keymap directly the issue may be visible.")
195195
(define-key map (kbd "s f") #'ement-room-send-file)
196196
(define-key map (kbd "s i") #'ement-room-send-image)
197197
(define-key map (kbd "v") #'ement-room-view-event)
198+
(define-key map (kbd "D") #'ement-room-download-file)
198199

199200
;; Users
200201
(define-key map (kbd "u RET") #'ement-send-direct-message)
@@ -5844,7 +5845,8 @@ For use in `completion-at-point-functions'."
58445845
("s r" "Send reaction" ement-room-send-reaction)
58455846
("s e" "Send emote" ement-room-send-emote)
58465847
("s f" "Send file" ement-room-send-file)
5847-
("s i" "Send image" ement-room-send-image)]
5848+
("s i" "Send image" ement-room-send-image)
5849+
("D" "Download event media" ement-room-download-file)]
58485850
["Users"
58495851
("u RET" "Send direct message" ement-send-direct-message)
58505852
("u i" "Invite user" ement-invite-user)

0 commit comments

Comments
 (0)