1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Stop calls after timeout

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-07-01 21:16:17 +02:00
parent f7dcb1712d
commit a83c35c95b

View File

@ -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)
}
qDebug() << QString("Core: AV peer timeout with %1").arg(friendId);
cleanupCall(call_index);
emit static_cast<Core*>(core)->avPeerTimeout(friendId, call_index);
}