perf: 通过页面修改机器人资料

This commit is contained in:
kuaifan
2023-04-01 14:43:14 +08:00
parent d828ed83a5
commit 2fcb7fb59b
5 changed files with 245 additions and 40 deletions

View File

@@ -119,7 +119,7 @@ class WebSocketDialog extends AbstractModel
$basic = User::userid2basic($dialog_user->userid);
if ($basic) {
$this->name = $basic->nickname;
$this->bot = $basic->bot;
$this->bot = $basic->getBotOwner();
$this->quick_msgs = UserBot::quickMsgs($basic->email);
} else {
$this->name = 'non-existent';