Browse Source

Stop calls after timeout

pull/48/head
Tux3 / Mlkj / !Lev.uXFMLA 11 years ago
parent
commit
a83c35c95b
  1. 4
      core.cpp

4
core.cpp

@ -1028,6 +1028,8 @@ void Core::onAvRequestTimeout(int32_t call_index, void* core) @@ -1028,6 +1028,8 @@ void Core::onAvRequestTimeout(int32_t call_index, void* core)
}
qDebug() << QString("Core: AV request timeout with %1").arg(friendId);
cleanupCall(call_index);
emit static_cast<Core*>(core)->avRequestTimeout(friendId, call_index);
}
@ -1041,6 +1043,8 @@ void Core::onAvPeerTimeout(int32_t call_index, void* core) @@ -1041,6 +1043,8 @@ void Core::onAvPeerTimeout(int32_t call_index, void* core)
}
qDebug() << QString("Core: AV peer timeout with %1").arg(friendId);
cleanupCall(call_index);
emit static_cast<Core*>(core)->avPeerTimeout(friendId, call_index);
}

Loading…
Cancel
Save