branch: elpa/mastodon
commit b750afd584b90cad19ed251479f7faa51532991c
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>
notifs: fix update-check-cb.
---
lisp/mastodon-notifications.el | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index 8ea7397e17..2683ec528c 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -1117,17 +1117,17 @@ Callback is `mastodon-notifications--update-check-cb'."
;; and only ever notify, not update.
;; (if ;;(not (mastodon-tl--buffer-type-eq 'notifications))
- ;; (not mastodon-notifications-update-when-unread)
- (mastodon-notifications-notify count)
- ;; run updates if in notifs buffer:
- ;; (message "Updating mastodon.el notifications...")
- ;; (undo-boundary)
- ;; (mastodon-tl-update)
- ;; (undo-boundary)
- ;; (message "Updating mastodon.el notifications... Done.")))
- ;; cancel and set new timer:
- (mastodon-notifications-cancel-timer)
- (mastodon-notifications--update-with-timer)))
+ ;; (not mastodon-notifications-update-when-unread)
+ (mastodon-notifications-notify count)
+ ;; run updates if in notifs buffer:
+ ;; (message "Updating mastodon.el notifications...")
+ ;; (undo-boundary)
+ ;; (mastodon-tl-update)
+ ;; (undo-boundary)
+ ;; (message "Updating mastodon.el notifications... Done.")))
+ ;; cancel and set new timer:
+ (mastodon-notifications-cancel-timer)
+ (mastodon-notifications--update-with-timer))))
(provide 'mastodon-notifications)
;;; mastodon-notifications.el ends here