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.el15
1 files changed, 7 insertions, 8 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index b6c3632..40e7218 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1683,14 +1683,13 @@ JSON is the data returned from the server."
#'mastodon-tl--update-timestamps-callback
(current-buffer)
nil)))
- (unless
- ;; for everything save profiles:
- (string-prefix-p "accounts" endpoint))
- ;;(or (equal endpoint "notifications")
- ;; (string-prefix-p "timelines" endpoint)
- ;; (string-prefix-p "favourites" endpoint)
- ;; (string-prefix-p "statuses" endpoint))
- (mastodon-tl--goto-first-item)))
+ (unless (string-prefix-p "accounts" endpoint)
+ ;; for everything save profiles
+ (mastodon-tl--goto-first-item))))
+;;(or (equal endpoint "notifications")
+;; (string-prefix-p "timelines" endpoint)
+;; (string-prefix-p "favourites" endpoint)
+;; (string-prefix-p "statuses" endpoint))
(defun mastodon-tl--init-sync (buffer-name endpoint update-function)
"Initialize BUFFER-NAME with timeline targeted by ENDPOINT.