mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-30 17:20:26 +00:00
fix: 回复消息点击到原文无效
This commit is contained in:
parent
c2dd15fca1
commit
bf913d9eff
@ -846,10 +846,10 @@ class WebSocketDialogMsg extends AbstractModel
|
|||||||
$push_silence = !in_array($type, ["text", "file", "record", "meeting"]);
|
$push_silence = !in_array($type, ["text", "file", "record", "meeting"]);
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
$update_id = preg_match("/^update-(\d+)$/", $action, $match) ? $match[1] : 0;
|
$update_id = intval(preg_match("/^update-(\d+)$/", $action, $match) ? $match[1] : 0);
|
||||||
$change_id = preg_match("/^change-(\d+)$/", $action, $match) ? $match[1] : 0;
|
$change_id = intval(preg_match("/^change-(\d+)$/", $action, $match) ? $match[1] : 0);
|
||||||
$reply_id = preg_match("/^reply-(\d+)$/", $action, $match) ? $match[1] : 0;
|
$reply_id = intval(preg_match("/^reply-(\d+)$/", $action, $match) ? $match[1] : 0);
|
||||||
$forward_id = preg_match("/^forward-(\d+)-(\d+)$/", $action, $match) ? $match[2] : 0;
|
$forward_id = intval(preg_match("/^forward-(\d+)-(\d+)$/", $action, $match) ? $match[2] : 0);
|
||||||
$sender = $sender === null ? User::userid() : $sender;
|
$sender = $sender === null ? User::userid() : $sender;
|
||||||
//
|
//
|
||||||
$dialog = WebSocketDialog::find($dialog_id);
|
$dialog = WebSocketDialog::find($dialog_id);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user