1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 04:33:02 +01:00

Issue #89 workaround for a toxav_get_peer_id issue

This commit is contained in:
Sean 2014-03-11 12:59:12 -07:00
parent 9d50d52216
commit a63cba645f

View File

@ -472,7 +472,7 @@ static void friendlist_onInit(ToxWindow *self, Tox *m)
static void friendlist_onAv(ToxWindow *self, ToxAv *av)
{
int id = toxav_get_peer_id(av, 0);
id++;
if ( id >= max_friends_index)
return;