summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/Messenger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c
index ee5213a7..292ed990 100644
--- a/toxcore/Messenger.c
+++ b/toxcore/Messenger.c
@@ -619,7 +619,7 @@ USERSTATUS m_get_self_userstatus(Messenger *m)
619 619
620int m_set_usertyping(Messenger *m, int friendnumber, uint8_t is_typing) 620int m_set_usertyping(Messenger *m, int friendnumber, uint8_t is_typing)
621{ 621{
622 if (is_typing != 0 || is_typing != 1) { 622 if (is_typing != 0 && is_typing != 1) {
623 return -1; 623 return -1;
624 } 624 }
625 625