diff options
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/Messenger.c | 2 |
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 | ||
620 | int m_set_usertyping(Messenger *m, int friendnumber, uint8_t is_typing) | 620 | int 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 | ||