mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 19:23:26 +00:00
perf: 设置免打扰后被@也推送通知
This commit is contained in:
parent
60a04aa4a8
commit
bdbc394b4a
@ -119,6 +119,7 @@ class WebSocketDialogMsgTask extends AbstractTask
|
|||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
$mention = array_intersect([0, $userid], $mentions) ? 1 : 0;
|
$mention = array_intersect([0, $userid], $mentions) ? 1 : 0;
|
||||||
|
$silence = $mention ? false : $silence;
|
||||||
WebSocketDialogMsgRead::createInstance([
|
WebSocketDialogMsgRead::createInstance([
|
||||||
'dialog_id' => $msg->dialog_id,
|
'dialog_id' => $msg->dialog_id,
|
||||||
'msg_id' => $msg->id,
|
'msg_id' => $msg->id,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user