mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Set typing status before calling callback.
This commit is contained in:
parent
ce6440c5a2
commit
45329dc59e
|
@ -1936,10 +1936,10 @@ void do_friends(Messenger *m)
|
|||
|
||||
uint8_t typing = data[0];
|
||||
|
||||
set_friend_typing(m, i, typing);
|
||||
|
||||
if (m->friend_typingchange)
|
||||
m->friend_typingchange(m, i, typing, m->friend_typingchange_userdata);
|
||||
|
||||
set_friend_typing(m, i, typing);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user