Commit bb5dbcdf authored by Alexandre Lision's avatar Alexandre Lision

call: auto unhold when selecting a call

minor fix: start client with chatview collapsed

Refs #77369

Change-Id: Ic6cba78b7fece4deb8f0b644e988e64e5161b63d
parent 87a94467
...@@ -232,6 +232,12 @@ ...@@ -232,6 +232,12 @@
[self animateOut]; [self animateOut];
return; return;
} }
auto call = CallModel::instance()->getCall(current);
if (call->state() == Call::State::HOLD) {
call << Call::Action::HOLD;
}
[self collapseRightView]; [self collapseRightView];
[self updateCall]; [self updateCall];
[self updateAllActions]; [self updateAllActions];
...@@ -377,6 +383,7 @@ ...@@ -377,6 +383,7 @@
[self.view setFrame:self.view.superview.bounds]; [self.view setFrame:self.view.superview.bounds];
[self.view setHidden:YES]; [self.view setHidden:YES];
self.view.layer.position = self.view.frame.origin; self.view.layer.position = self.view.frame.origin;
[self collapseRightView];
} }
# pragma private IN/OUT animations # pragma private IN/OUT animations
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment