diff --git a/app/Services/GatewayWorker/ImService.php b/app/Services/GatewayWorker/ImService.php index 7b945211..2b00f0f4 100644 --- a/app/Services/GatewayWorker/ImService.php +++ b/app/Services/GatewayWorker/ImService.php @@ -23,8 +23,8 @@ class ImService extends BaseService { $data['message_type'] = MessageTypeEnum::from($type)->description(); GatewayClientService::getInstance()->init()->sendToUser( - $this->userId, $this->userId === 1? 2: 1, + $this->userId, $this->userInfo['nick_name'], json_encode($data), );