branch: externals/ement
commit b69f6c9b54c3f87c94bef5429a5948e14fda886f
Author: Arto Jantunen <vi...@iki.fi>
Commit: Adam Porter <a...@alphapapa.net>

    Use eww-browse-url instead of browse-url in ement-room-browse-mxc
    
    In the modern days of authenticated media this doesn't do anything useful
    if the user has configured browse-url to open things in something other
    than eww.
---
 ement-room.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ement-room.el b/ement-room.el
index 96697b43e6..491e5bc77d 100644
--- a/ement-room.el
+++ b/ement-room.el
@@ -5933,7 +5933,7 @@ For use in `completion-at-point-functions'."
                          (decode-coding-region (point-min) (point) 'utf-8)
                          ;; HACK: This STATUS argument to `eww-render' is 
bogus.
                          (apply callback 'status cbargs))))))
-      (browse-url mxc))))
+      (eww-browse-url mxc))))
 
 ;;;; Footer
 

Reply via email to