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