Function: eca-chat--linkify-user-message
eca-chat--linkify-user-message is a natively compiled function defined
in eca-chat.el.
Signature
(eca-chat--linkify-user-message SESSION OV-LABEL ROOTS)
Documentation
Make the image mentions of the user message of OV-LABEL toggleable.
RET on them toggles their thumbnail. SESSION maps server paths back to local ones, relative paths are resolved against ROOTS.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--linkify-user-message (session ov-label roots)
"Make the image mentions of the user message of OV-LABEL toggleable.
RET on them toggles their thumbnail. SESSION maps server paths
back to local ones, relative paths are resolved against ROOTS."
(when-let* ((ov-content (overlay-get ov-label 'eca-chat--expandable-content-ov-content)))
(let ((eca--path-session (or eca--path-session session)))
(eca-chat--linkify-image-mentions
(overlay-start ov-label) (overlay-start ov-content) roots))))