This commit is contained in:
aozhiwei 2020-09-14 17:52:38 +08:00
parent c120fccab2
commit ce39bf9af2

View File

@ -308,7 +308,7 @@ void GSMgr::OnChannelChange(GSNode* node)
int GSMgr::GetTargetChannel(const ss::SS_WSP_RequestTargetServer& msg)
{
int channel = f8::ExtractChannelIdFromAccountId(msg.account_id());
if (channel == 6000 && !msg.url().empty()) {
if ((channel == 6000 || channel == 0) && !msg.url().empty()) {
std::vector<std::string> strings;
a8::Split(msg.url(), strings, '/');
if (strings.size() > 1) {