1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-03 12:16:44 +02:00

AV api changes

This commit is contained in:
Jfreegman
2014-11-30 09:27:45 -05:00
parent 867f041c23
commit e995a1cb69
3 changed files with 7 additions and 9 deletions

View File

@ -1030,7 +1030,7 @@ static void friendlist_onAv(ToxWindow *self, ToxAv *av, int call_index)
{
int id = toxav_get_peer_id(av, call_index, 0);
if ( id != av_ErrorInternal && id >= Friends.max_idx)
if ( id != av_ErrorUnknown && id >= Friends.max_idx)
return;
Tox *m = toxav_get_tox(av);