wip: fixed role setting
This commit is contained in:
parent
76d0afe672
commit
5b3b50a0d2
4 changed files with 64 additions and 49 deletions
|
|
@ -310,7 +310,6 @@ void OverseerHandler::reviseEndpointShowing(std::wstring endpointId, EndpointSta
|
|||
Flows flow;
|
||||
if (!eph) {
|
||||
if (state ^ EndpointState::ENDPOINT_ACTIVE) return;
|
||||
//return;
|
||||
//flow = Flows::FLOW_CAPTURE;
|
||||
eph = osh->addEndpoint(endpointId, &flow);
|
||||
} else
|
||||
|
|
@ -319,7 +318,6 @@ void OverseerHandler::reviseEndpointShowing(std::wstring endpointId, EndpointSta
|
|||
//todo: mic done but disabled. Tab-kun will come...
|
||||
if (flow == Flows::FLOW_CAPTURE) return;
|
||||
|
||||
|
||||
if(eph && EndpointState::ENDPOINT_ACTIVE & state) {
|
||||
this->addEndpointWidget(eph);
|
||||
} else if (eph && eph->getFrontVisibilityState() == EndpointState::ENDPOINT_ACTIVE){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue