1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-03 12:36:06 +02:00

Observe notification read

This commit is contained in:
tamaina
2020-05-26 14:34:49 +09:00
parent 9bee9d20f7
commit 61bdf51e90
2 changed files with 18 additions and 0 deletions

View File

@@ -75,6 +75,8 @@ export default Vue.extend({
this.$root.stream.send('readNotification', {
id: notification.id
});
notification.isRead = true;
}
this.prepend(notification);