aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-notifications.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-06-03 10:02:57 +0200
committermousebot <mousebot@riseup.net>2021-06-03 22:44:47 +0200
commit9f532060927265717b7c71f5b77f6c650e72a34d (patch)
tree6b7f05ff4533e61953d8ea0fcbb9073a09c49d53 /lisp/mastodon-notifications.el
parentdb26f1b4bc8a62e472ed7c7191a67ddbc2c65c69 (diff)
enable async stream for user notifications.
creates a notifications filter for the 'user' stream, then handles display of notifications, which have their own timeline funs.
Diffstat (limited to 'lisp/mastodon-notifications.el')
-rw-r--r--lisp/mastodon-notifications.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index d40815a..4bf30f1 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -140,11 +140,11 @@
(defun mastodon-notifications--get ()
"Display NOTIFICATIONS in buffer."
(interactive)
+ (message "Loading your nofications...")
(mastodon-tl--init
- "*mastodon-notifications*"
"notifications"
- 'mastodon-notifications--timeline)
- (message "Loading your nofications..."))
+ "notifications"
+ 'mastodon-notifications--timeline))
(provide 'mastodon-notifications)
;;; mastodon-notifications.el ends here