We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 209972b + ebaf0e6 commit f75b253Copy full SHA for f75b253
src/store/domain/me/mutations.ts
@@ -33,7 +33,7 @@ export const mutations = defineMutations<S>()({
33
myId ?? '',
34
state.detail?.groups ?? []
35
)
36
- if (message.channelId in state.subscriptionMap || noticeable) {
+ if (state.subscriptionMap[message.channelId] > 0 || noticeable.length > 0) {
37
if (message.channelId in state.unreadChannelsSet) {
38
const oldUnreadChannel = state.unreadChannelsSet[message.channelId]
39
Vue.set(state.unreadChannelsSet, message.channelId, {
0 commit comments