Merge pull request #697 from h3poteto/fix/unreadMark

fixes #677 Fix unread mark on side menu when public timeline is updated
This commit is contained in:
AkiraFukushima 2018-11-09 22:47:10 +09:00 committed by GitHub
commit 0a4fc853f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -278,8 +278,8 @@ const TimelineSpace = {
if (rootState.TimelineSpace.Contents.Public.heading && Math.random() > 0.8) { if (rootState.TimelineSpace.Contents.Public.heading && Math.random() > 0.8) {
commit('TimelineSpace/Contents/Public/archiveTimeline', {}, { root: true }) commit('TimelineSpace/Contents/Public/archiveTimeline', {}, { root: true })
} }
commit('TimelineSpace/SideMenu/changeUnreadPublicTimeline', true, { root: true })
}) })
commit('TimelineSpace/SideMenu/changeUnreadPublicTimeline', true, { root: true })
}, },
startPublicStreaming ({ state }) { startPublicStreaming ({ state }) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {