summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorz3bra <contactatz3bradotorg>2016-11-18 23:29:26 +0100
committerz3bra <contactatz3bradotorg>2016-11-18 23:29:26 +0100
commit2adc007bf779afd2207f26d747c5683cd8a8d5e2 (patch)
tree75ac04d97fb62712243d2ea6d09ed038e6afa924 /ratox.c
parent08a57c7b4710fb5c67add655de78020c16cf2e0e (diff)
Fixed issue preventing the user to answer calls
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
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]);