aboutsummaryrefslogtreecommitdiffstats
path: root/facebook/facebook-json.h
diff options
context:
space:
mode:
authorjgeboski <jgeboski@gmail.com>2015-12-25 16:08:57 -0500
committerjgeboski <jgeboski@gmail.com>2015-12-25 16:08:57 -0500
commitc2a7c914d3d218124cb3cfd7ca422d2d7c37fa67 (patch)
treedef805b147fadce359f3d5ca35ac31e7ccdd025f /facebook/facebook-json.h
parentd23df657328e4f565dfba973885be7c5d2b35eae (diff)
downloadbitlbee-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-json.h')
0 files changed, 0 insertions, 0 deletions