Fixed autopush adding of streams that are already being pushed autopushing the autopush automatically. Autopush.
This commit is contained in:
parent
fe0172efa9
commit
a5353b0acd
1 changed files with 4 additions and 1 deletions
|
@ -128,7 +128,10 @@ namespace Controller {
|
|||
for (std::map<std::string, unsigned int>::iterator it = activeStreams.begin(); it != activeStreams.end(); ++it){
|
||||
std::string streamname = it->first;
|
||||
if (pStr == streamname || (*pStr.rbegin() == '+' && streamname.substr(0, pStr.size()) == pStr)){
|
||||
startPush(streamname, target);
|
||||
|
||||
if (!isPushActive(streamname, target)){
|
||||
startPush(streamname, target);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue