aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/mastodon-media.el6
-rw-r--r--lisp/mastodon-tl.el2
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el
index 6a4b177..94abad9 100644
--- a/lisp/mastodon-media.el
+++ b/lisp/mastodon-media.el
@@ -25,12 +25,16 @@
;; mastodon-media.el provides functions for inlining media.
+;; Known bug gnutls -12 when trying to access images on some systems.
+;; It looks like their may be a version mismatch between the encryption
+;; required by the server and client.
+
;;; Code:
(require 'mastodon-http)
(defun mastodon-media--image-from-url (url)
"Takes a url and returns an image"
- (let ((buffer (mastodon-http--get url)))
+ (let ((buffer (url-retrieve-synchronously url)))
(unwind-protect
(let ((data (with-current-buffer buffer
(goto-char (point-min))
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 385580e..dfea63d 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -146,7 +146,7 @@ Return value from boosted content if available."
(defun mastodon-tl--set-face (string face render)
- "Set the face of a string. If `render` is not 'nil
+ "Set the face of a string. If `render' is not 'nil
also render the html"
(propertize
(with-temp-buffer