diff --git a/src/store/domain/me/mutations.ts b/src/store/domain/me/mutations.ts index d449b3929..286f7f4af 100644 --- a/src/store/domain/me/mutations.ts +++ b/src/store/domain/me/mutations.ts @@ -33,7 +33,7 @@ export const mutations = defineMutations()({ 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, {