From 2adc007bf779afd2207f26d747c5683cd8a8d5e2 Mon Sep 17 00:00:00 2001 From: z3bra Date: Fri, 18 Nov 2016 23:29:26 +0100 Subject: Fixed issue preventing the user to answer calls --- ratox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ratox.c b/ratox.c index 6581c07..0d97339 100644 --- a/ratox.c +++ b/ratox.c @@ -1657,7 +1657,7 @@ loop(void) TAILQ_FOREACH(f, &friendhead, entry) { if (tox_friend_get_connection_status(tox, f->num, NULL) == TOX_CONNECTION_NONE) continue; - if (f->av.state) + if (!f->av.state) continue; fd = fifoopen(f->dirfd, ffiles[FCALL_OUT]); -- cgit v1.2.3