mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge pull request #785 from aitjcize/master
Set typing status before calling callback
This commit is contained in:
commit
1fe835199c
|
@ -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