Commit c30a816c authored by Pierre Lespagnol's avatar Pierre Lespagnol Committed by Sébastien Blin

currentcallview: fix blinking recording indicator

Before this patch the recording animation stopped during recording transition from call to conference or after remove or add participant in a conference

Change-Id: Id9427d4f851cf380dbd3e6794a2549d437d4867e
parent 56e3222a
......@@ -322,12 +322,9 @@ set_record_animation(CurrentCallViewPrivate* priv)
auto callToRender = priv->cpp->conversation->callId;
if (!priv->cpp->conversation->confId.isEmpty())
callToRender = priv->cpp->conversation->confId;
bool nextStatus = (*priv->cpp->accountInfo)->callModel->isRecording(callToRender);
bool currentStatus = (*priv->cpp->accountInfo)->callModel->isRecording(callToRender);
if (nextStatus != currentStatus) {
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(priv->togglebutton_record),
(*priv->cpp->accountInfo)->callModel->isRecording(callToRender));
}
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(priv->togglebutton_record),
currentStatus);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment