]> cat aescling's git repositories - mastodon.git/commitdiff
Fix unread notification markers (#14897)
authorTakeshi Umeda <noel.yoshiba@gmail.com>
Tue, 29 Sep 2020 13:30:56 +0000 (22:30 +0900)
committerGitHub <noreply@github.com>
Tue, 29 Sep 2020 13:30:56 +0000 (15:30 +0200)
app/javascript/mastodon/actions/notifications.js

index 552def63b6dab6fca574e502eaa5cf85889ec9b1..cd03a1d784976dad217f576c205ef2222f9cb204 100644 (file)
@@ -234,3 +234,7 @@ export const mountNotifications = () => ({
 export const unmountNotifications = () => ({
   type: NOTIFICATIONS_UNMOUNT,
 });
+
+export const markNotificationsAsRead = () => ({
+  type: NOTIFICATIONS_MARK_AS_READ,
+});