no message

This commit is contained in:
cpdl
2025-05-07 17:01:30 +08:00
parent 114980dab0
commit b2c3c09c20
9 changed files with 57 additions and 52 deletions

View File

@@ -55,7 +55,7 @@ void ChannelManagerService::getChannelMembersInfo(
if (arguments) {
auto operationID = zego_value_get_string(arguments->at(flutter::EncodableValue("operationID")));
auto channelID = zego_value_get_string(arguments->at(flutter::EncodableValue("channelID")));
auto userIDList = zego_value_get_string(arguments->at(flutter::EncodableValue("userIDList")));
auto userIDList = value_2_json(arguments->at(flutter::EncodableValue("userIDList")));
char* operationID_cs = const_cast<char*>(operationID.c_str());
char* channelID_cs = const_cast<char*>(channelID.c_str());
char* userIDList_cs = const_cast<char*>(userIDList.c_str());
@@ -89,7 +89,7 @@ void ChannelManagerService::getChannelsInfo(
std::shared_ptr<flutter::MethodResult<flutter::EncodableValue>> result) {
if (arguments) {
auto operationID = zego_value_get_string(arguments->at(flutter::EncodableValue("operationID")));
auto channelIDList = zego_value_get_string(arguments->at(flutter::EncodableValue("channelIDList")));
auto channelIDList = value_2_json(arguments->at(flutter::EncodableValue("channelIDList")));
char* operationID_cs = const_cast<char*>(operationID.c_str());
char* channelIDList_cs = const_cast<char*>(channelIDList.c_str());
@@ -189,7 +189,7 @@ void ChannelManagerService::getUsersInChannel(
if (arguments) {
auto operationID = zego_value_get_string(arguments->at(flutter::EncodableValue("operationID")));
auto channelID = zego_value_get_string(arguments->at(flutter::EncodableValue("channelID")));
auto userIDs = zego_value_get_string(arguments->at(flutter::EncodableValue("userIDs")));
auto userIDs = value_2_json(arguments->at(flutter::EncodableValue("userIDs")));
char* operationID_cs = const_cast<char*>(operationID.c_str());
char* channelID_cs = const_cast<char*>(channelID.c_str());
char* userIDs_cs = const_cast<char*>(userIDs.c_str());