Move call-related properties to CallManager
This commit is contained in:
parent
4e6df2edcb
commit
ac410f46f2
8 changed files with 70 additions and 105 deletions
|
|
@ -597,7 +597,7 @@ void
|
|||
InputBar::callButton()
|
||||
{
|
||||
auto callManager_ = ChatPage::instance()->callManager();
|
||||
if (callManager_->onActiveCall()) {
|
||||
if (callManager_->isOnCall()) {
|
||||
callManager_->hangUp();
|
||||
} else {
|
||||
auto current_room_ = room->roomId();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue