diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2018-10-07 11:06:17 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-07 11:06:17 +0900 |
| commit | d0570d7fe3a3bf3c6b0312dece74bacc04c3534a (patch) | |
| tree | 698218279a38f9c78b0350e81b8ac77ae52e4a0d /src/services/note/unread.ts | |
| parent | Fix お知らせが確認中...のままになる(Announcement Fetching...) (... (diff) | |
| download | misskey-d0570d7fe3a3bf3c6b0312dece74bacc04c3534a.tar.gz misskey-d0570d7fe3a3bf3c6b0312dece74bacc04c3534a.tar.bz2 misskey-d0570d7fe3a3bf3c6b0312dece74bacc04c3534a.zip | |
V10 (#2826)
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update CHANGELOG.md
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update CHANGELOG.md
* Update CHANGELOG.md
* wip
* Update CHANGELOG.md
* wip
* wip
* wip
* wip
Diffstat (limited to 'src/services/note/unread.ts')
| -rw-r--r-- | src/services/note/unread.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/services/note/unread.ts b/src/services/note/unread.ts index 2d50976283..5953f61fe1 100644 --- a/src/services/note/unread.ts +++ b/src/services/note/unread.ts @@ -2,7 +2,7 @@ import NoteUnread from '../../models/note-unread'; import User, { IUser } from '../../models/user'; import { INote } from '../../models/note'; import Mute from '../../models/mute'; -import { publishUserStream } from '../../stream'; +import { publishMainStream } from '../../stream'; export default async function(user: IUser, note: INote, isSpecified = false) { //#region ミュートしているなら無視 @@ -38,10 +38,10 @@ export default async function(user: IUser, note: INote, isSpecified = false) { } }); - publishUserStream(user._id, 'unreadMention', note._id); + publishMainStream(user._id, 'unreadMention', note._id); if (isSpecified) { - publishUserStream(user._id, 'unreadSpecifiedNote', note._id); + publishMainStream(user._id, 'unreadSpecifiedNote', note._id); } }, 3000); } |