mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
Do not request member list when host leaves
This commit is contained in:
@@ -443,12 +443,6 @@ void PeerConnection::ProcessSignal(const std::string &signal) {
|
|||||||
ice_transmission_list_.erase(user_id_it);
|
ice_transmission_list_.erase(user_id_it);
|
||||||
ice_ready_ = false;
|
ice_ready_ = false;
|
||||||
LOG_INFO("Terminate transmission to user [{}]", user_id);
|
LOG_INFO("Terminate transmission to user [{}]", user_id);
|
||||||
|
|
||||||
if (std::string::npos != user_id.find("S-")) {
|
|
||||||
LOG_INFO("Server leaves, try to rejoin transmission");
|
|
||||||
|
|
||||||
RequestTransmissionMemberList(transmission_id_, password_);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user