Browse Source

Merge pull request #327 from master-passeli/mic_mute_segfault

check if call is active before mute
pull/328/head
Tux3 / Mlkj / !Lev.uXFMLA 11 years ago
parent
commit
57237f450e
  1. 4
      coreav.cpp

4
coreav.cpp

@ -273,7 +273,9 @@ void Core::decreaseVideoBusyness() @@ -273,7 +273,9 @@ void Core::decreaseVideoBusyness()
void Core::micMuteToggle(int callId)
{
calls[callId].muteMic = !calls[callId].muteMic;
if (calls[callId].active) {
calls[callId].muteMic = !calls[callId].muteMic;
}
}
void Core::onAvCancel(void* _toxav, int32_t callId, void* core)

Loading…
Cancel
Save