mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed user typing bug where it'd alway return an error.
This commit is contained in:
parent
d2019bbf99
commit
00d44597f0
@ -619,7 +619,7 @@ USERSTATUS m_get_self_userstatus(Messenger *m)
|
||||
|
||||
int m_set_usertyping(Messenger *m, int friendnumber, uint8_t is_typing)
|
||||
{
|
||||
if (is_typing != 0 || is_typing != 1) {
|
||||
if (is_typing != 0 && is_typing != 1) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user