Skip to content

Commit

Permalink
Fixed use of telega-file--download
Browse files Browse the repository at this point in the history
  • Loading branch information
zevlg committed Nov 18, 2024
1 parent 6ff8203 commit f4f9572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/telega-emacs-stories.el
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ Return list of three elements: (THUMB THUMB-PROP CONTENT-FILE)."
(not (telega-file--downloading-p cfile)))
;; NOTE: Use higher priority for recent stories
(telega-file--download cfile
(max 16 (- 32 (cl-position msg telega-emacs-stories--show-messages)))))))
:priority (max 16 (- 32 (cl-position msg telega-emacs-stories--show-messages)))))))

(defun telega-emacs-stories--show-messages-reset ()
"Re-set `telega-emacs-stories--show-messages' according to `telega-emacs-stories-show'."
Expand Down

0 comments on commit f4f9572

Please sign in to comment.