summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.el b/init.el
index c753acd..101519c 100644
--- a/init.el
+++ b/init.el
@@ -2685,7 +2685,11 @@
(propertize "| " 'face 'jao-themes-dimm)
telega-mode-line-string-format
'(:eval (telega-mode-line-unread-unmuted))
- telega-use-images (display-graphic-p))
+ telega-use-images (display-graphic-p)
+ telega-open-file-function
+ (if (display-graphic-p) #'find-file #'jao--see)
+ telega-open-message-as-file
+ (unless (display-graphic-p) '(photo video animation)))
(with-eval-after-load "tracking"
(jao-shorten-modes 'telega-chat-mode)
(jao-tracking-faces 'telega-tracking))