Skip to content

Commit

Permalink
Merge pull request #668 from traPtitech/hot-fix/635
Browse files Browse the repository at this point in the history
hot fix #635
  • Loading branch information
sapphi-red authored May 1, 2020
2 parents 209972b + ebaf0e6 commit f75b253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/domain/me/mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const mutations = defineMutations<S>()({
myId ?? '',
state.detail?.groups ?? []
)
if (message.channelId in state.subscriptionMap || noticeable) {
if (state.subscriptionMap[message.channelId] > 0 || noticeable.length > 0) {
if (message.channelId in state.unreadChannelsSet) {
const oldUnreadChannel = state.unreadChannelsSet[message.channelId]
Vue.set(state.unreadChannelsSet, message.channelId, {
Expand Down

0 comments on commit f75b253

Please sign in to comment.