mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-21 08:28:12 +00:00
搜索关键词去除
This commit is contained in:
parent
43a4e5741a
commit
8e9cd253e4
@ -484,7 +484,7 @@ class WebSocketDialogMsg extends AbstractModel
|
|||||||
public function generateMsgKey()
|
public function generateMsgKey()
|
||||||
{
|
{
|
||||||
return match ($this->type) {
|
return match ($this->type) {
|
||||||
'text' => strip_tags($this->msg['text']),
|
'text' => str_replace(" ", " ", strip_tags($this->msg['text'])),
|
||||||
'meeting', 'file' => $this->msg['name'],
|
'meeting', 'file' => $this->msg['name'],
|
||||||
default => '',
|
default => '',
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user