diff options
author | jgeboski <jgeboski@gmail.com> | 2015-12-25 16:08:57 -0500 |
---|---|---|
committer | jgeboski <jgeboski@gmail.com> | 2015-12-25 16:08:57 -0500 |
commit | c2a7c914d3d218124cb3cfd7ca422d2d7c37fa67 (patch) | |
tree | def805b147fadce359f3d5ca35ac31e7ccdd025f /facebook/facebook-data.h | |
parent | d23df657328e4f565dfba973885be7c5d2b35eae (diff) | |
download | bitlbee-facebook-c2a7c914d3d218124cb3cfd7ca422d2d7c37fa67.tar.gz bitlbee-facebook-c2a7c914d3d218124cb3cfd7ca422d2d7c37fa67.tar.bz2 bitlbee-facebook-c2a7c914d3d218124cb3cfd7ca422d2d7c37fa67.tar.xz |
facebook: fixed broken contact counting with non-friends
When fetching more than 500 contacts, multiple requests must be made in
order avoid request limits. When friends are retrieved and processed,
the plugin must keep a count of the processed contacts to know whether
or not it needs to retrieve more contacts.
Currently, this counter assumes every contact is a friend, which is not
always the case. This counter needs to advance even when a contact is
not a friend.
This fixes the incomplete fetching of the buddy list when a user has
over 500 friends.
This is a regression introduced by 00c0ae8.
Diffstat (limited to 'facebook/facebook-data.h')
0 files changed, 0 insertions, 0 deletions