diff --git a/src/ZM/Plugin/OneBot12Adapter.php b/src/ZM/Plugin/OneBot12Adapter.php index 578be6a4..ca98a8a4 100644 --- a/src/ZM/Plugin/OneBot12Adapter.php +++ b/src/ZM/Plugin/OneBot12Adapter.php @@ -283,7 +283,8 @@ class OneBot12Adapter extends ZMPlugin $resp->retcode = $body['retcode']; $resp->status = $body['status']; $resp->message = $body['message'] ?? ''; - $resp->data = $body['data'] ?? null; + $resp->data = $body['data'] ?? []; + $resp->echo = $body['echo'] ?? null; ContainerRegistrant::registerOBActionResponseServices($resp);