Skip to content

Commit f75b253

Browse files
authored
Merge pull request #668 from traPtitech/hot-fix/635
hot fix #635
2 parents 209972b + ebaf0e6 commit f75b253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/domain/me/mutations.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const mutations = defineMutations<S>()({
3333
myId ?? '',
3434
state.detail?.groups ?? []
3535
)
36-
if (message.channelId in state.subscriptionMap || noticeable) {
36+
if (state.subscriptionMap[message.channelId] > 0 || noticeable.length > 0) {
3737
if (message.channelId in state.unreadChannelsSet) {
3838
const oldUnreadChannel = state.unreadChannelsSet[message.channelId]
3939
Vue.set(state.unreadChannelsSet, message.channelId, {

0 commit comments

Comments
 (0)