1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 13:26:44 +02:00

Make sure conference audio calls are properly flagged

This fixes a bug causing the conference audio noise animations
and indicators from properly displaying
This commit is contained in:
jfreegman
2021-11-20 10:16:47 -05:00
parent b7002ef3f0
commit 0a708e4a2e
3 changed files with 19 additions and 7 deletions

View File

@ -108,7 +108,7 @@ void cmd_enable_audio(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*
return;
}
if (enable ? enable_conference_audio(m, self->num) : disable_conference_audio(m, self->num)) {
if (enable ? enable_conference_audio(self, m, self->num) : disable_conference_audio(self, m, self->num)) {
print_err(self, enable ? "Enabled conference audio. Use the '/ptt' command to toggle Push-To-Talk."
: "Disabled conference audio");
} else {