From 8bc4bbdce06bd3d11585fa3ff00a819dbeb6f71c Mon Sep 17 00:00:00 2001 From: "Tux3 / Mlkj / !Lev.uXFMLA" Date: Sun, 16 Nov 2014 19:11:37 +0100 Subject: [PATCH] Fix #778 --- src/core.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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