Merge pull request #785 from aitjcize/master

Set typing status before calling callback
This commit is contained in:
irungentoo 2014-03-05 07:13:11 -05:00
commit 1fe835199c

View File

@ -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;
}