Skip to content
Snippets Groups Projects
Commit 9d6cce9f authored by trilene's avatar trilene
Browse files

Handle preemptive CallHangUp

parent 774d8640
No related branches found
No related tags found
No related merge requests found
......@@ -236,8 +236,10 @@ void
CallManager::handleEvent(const RoomEvent<CallHangUp> &callHangUpEvent)
{
nhlog::ui()->debug("CallManager::incoming CallHangUp from {} with id {}", callHangUpEvent.sender, callHangUpEvent.content.call_id);
if (onActiveCall() && callid_ == callHangUpEvent.content.call_id)
if (callid_ == callHangUpEvent.content.call_id) {
MainWindow::instance()->hideOverlay();
endCall();
}
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment