mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-26 20:48:12 +00:00
perf: 优化消息保存覆盖
This commit is contained in:
parent
4824f30950
commit
cf7f245a49
2
resources/assets/js/store/actions.js
vendored
2
resources/assets/js/store/actions.js
vendored
@ -2872,7 +2872,7 @@ export default {
|
||||
const dialog = state.cacheDialogs.find(({id}) => id == data.dialog_id);
|
||||
if (dialog) {
|
||||
let isUpdate = false
|
||||
if (!data.read_at) {
|
||||
if (!data.read_at && data.userid != state.userId) {
|
||||
if (dialog.unread_one) {
|
||||
dialog.unread_one = Math.min(dialog.unread_one, data.id)
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user