commit 2adc007bf779afd2207f26d747c5683cd8a8d5e2
parent 08a57c7b4710fb5c67add655de78020c16cf2e0e
Author: z3bra <contactatz3bradotorg>
Date: Fri, 18 Nov 2016 23:29:26 +0100
Fixed issue preventing the user to answer calls
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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]);