1
This commit is contained in:
parent
c28bcb9ad1
commit
75182ffd24
@ -879,6 +879,22 @@ void RoomMgr::AdjustCMJoin(cs::CMJoin* msg)
|
||||
team->SetVal("members", *members.get());
|
||||
team_list->Push(*team.get());
|
||||
}
|
||||
{
|
||||
std::string test_account_id = "6513_2006_3";
|
||||
std::map<std::string, std::string> test_members;
|
||||
test_members[test_account_id] = test_account_id;
|
||||
auto team = a8::MutableXObject::CreateObject();
|
||||
auto members = a8::MutableXObject::CreateArray();
|
||||
team->SetVal("team_uuid", f8::App::Instance()->NewGlobalUuid());
|
||||
for (auto& pair : test_members) {
|
||||
auto member = a8::MutableXObject::CreateObject();
|
||||
member->SetVal("account_id", pair.first);
|
||||
//member->SetVal("session_id", pair.second);
|
||||
members->Push(*member.get());
|
||||
}
|
||||
team->SetVal("members", *members.get());
|
||||
team_list->Push(*team.get());
|
||||
}
|
||||
data->SetVal("team_list", *team_list.get());
|
||||
{
|
||||
std::string custom_data = a8::openssl::md5
|
||||
|
Loading…
x
Reference in New Issue
Block a user