no message

This commit is contained in:
kuaifan
2021-06-23 12:07:13 +08:00
parent f2b32c2161
commit 7ed30309cd
9 changed files with 28 additions and 20 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ class WebSocketDialogMsg extends AbstractModel
public static function sendMsg($dialog_id, $type, $msg, $sender = 0)
{
$dialogMsg = self::createInstance([
'userid' => $sender ?: User::token2userid(),
'userid' => $sender ?: User::userid(),
'type' => $type,
'msg' => $msg,
'read' => 0,