1
This commit is contained in:
parent
03a8c08040
commit
fd9a2ba7eb
@ -311,8 +311,8 @@ int GSMgr::GetTargetChannel(const ss::SS_WSP_RequestTargetServer& msg)
|
|||||||
if (channel == 6000 && !msg.url().empty()) {
|
if (channel == 6000 && !msg.url().empty()) {
|
||||||
std::vector<std::string> strings;
|
std::vector<std::string> strings;
|
||||||
a8::Split(msg.url(), strings, '/');
|
a8::Split(msg.url(), strings, '/');
|
||||||
if (!strings.empty()) {
|
if (strings.size() > 1) {
|
||||||
channel = a8::XValue(strings[0]);
|
channel = a8::XValue(strings[1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!App::Instance()->IsSeparateChannel(channel)) {
|
if (!App::Instance()->IsSeparateChannel(channel)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user