mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
fix: 修复连接信息uuid为空的问题,并修复一个命名问题
This commit is contained in:
@@ -295,7 +295,9 @@ void Assistant::task_callback(AsstMsg msg, const json::value& detail, void* cust
|
||||
{
|
||||
auto p_this = static_cast<Assistant*>(custom_arg);
|
||||
json::value more_detail = detail;
|
||||
more_detail["uuid"] = p_this->m_uuid;
|
||||
if (!more_detail.contains("uuid")) {
|
||||
more_detail["uuid"] = p_this->m_uuid;
|
||||
}
|
||||
|
||||
switch (msg) {
|
||||
case AsstMsg::InternalError:
|
||||
|
||||
Reference in New Issue
Block a user