aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-media.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-media.el')
-rw-r--r--lisp/mastodon-media.el6
1 files changed, 5 insertions, 1 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))