Skip to content

Commit

Permalink
forge-topic-mark-read: Set unread-p slot of notification as well
Browse files Browse the repository at this point in the history
Previously we instead set the unread-p slot of the topic twice,
which went unnoticed because we don't actually use the slot of
the notification yet.
  • Loading branch information
tarsius committed Sep 21, 2023
1 parent 9557ae3 commit df6e059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/forge-github.el
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@
(when (oref topic unread-p)
(oset topic unread-p nil)
(when-let ((notif (forge-get-notification topic)))
(oset topic unread-p nil)
(oset notif unread-p nil)
(forge--ghub-patch notif "/notifications/threads/:thread-id"))))

;;;; Miscellaneous
Expand Down

0 comments on commit df6e059

Please sign in to comment.