perf: 设置免打扰后被@也推送通知
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user