|
@@ -605,6 +605,7 @@ const actions = {
|
|
|
}
|
|
|
|
|
|
if (data.type === 'leave') {
|
|
|
+ if (data.group_id != state.groupId) return
|
|
|
if (data.user_info.user_id == rootState.userId) return
|
|
|
|
|
|
data.joinMsg = (data.user_info.nick_name || data.user_info.name) + '退出群组'
|
|
@@ -622,6 +623,7 @@ const actions = {
|
|
|
}
|
|
|
|
|
|
if (data.type === 'join') {
|
|
|
+ if (data.group_id != state.groupId) return
|
|
|
if (data.user_info.user_id == rootState.userId) return
|
|
|
|
|
|
data.joinMsg = (data.user_info.nick_name || data.user_info.name) + '加入群组'
|