commit ee80990c3ba4c953d6bb9cc68f5c98b99f4b5152
parent 9371e160e7a90a623cffeddc52a3704d6d383822
Author: sin <sin@2f30.org>
Date: Thu, 18 Sep 2014 15:25:11 +0100
Print a message when we reject a friend request
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/ratox.c b/ratox.c
@@ -1058,6 +1058,8 @@ loop(void)
tox_add_friend_norequest(tox, r->id);
printout("Accepted friend request for %s\n", r->idstr);
datasave();
+ } else {
+ printout("Rejected friend request for %s\n", r->idstr);
}
unlinkat(gslots[REQUEST].fd[OUT], r->idstr, 0);
close(r->fd);