aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 2d323b9..385580e 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -28,8 +28,9 @@
;;; Code:
-(require 'mastodon-http nil t)
-(require 'mastodon-toot nil t)
+(require 'mastodon-http)
+(require 'mastodon-toot)
+(require 'mastodon-media)
(defgroup mastodon-tl nil
"Timelines in Mastodon."
@@ -203,7 +204,8 @@ also render the html"
(defun mastodon-tl--timeline (toots)
"Display each toot in TOOTS."
(mapcar 'mastodon-tl--toot toots)
- (replace-regexp "\n\n\n | " "\n | " nil (point-min) (point-max)))
+ (replace-regexp "\n\n\n | " "\n | " nil (point-min) (point-max))
+ (mastodon-media--inline-images))
(defun mastodon-tl--more-json (timeline id)
"Return JSON for TIMELINE before ID."