diff --git a/src/core.cpp b/src/core.cpp index 5b83a0bcd..9d49c6f18 100644 --- a/src/core.cpp +++ b/src/core.cpp @@ -1003,7 +1003,8 @@ void Core::removeGroup(int groupId, bool fake) return; tox_del_groupchat(tox, groupId); - leaveGroupCall(groupId); + if (groupCalls[groupId].active) + leaveGroupCall(groupId); } QString Core::getUsername() const