aboutsummaryrefslogtreecommitdiffstats
path: root/facebook/facebook-api.h
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2017-01-07 23:50:10 -0300
committerdequis <dx@dxzone.com.ar>2017-01-08 00:02:30 -0300
commit82e6bcf0e6f22eeca7eda7ea95aaf8378df6ddef (patch)
tree9aa5d95e11573d4a568a8cc44ab64a6240297000 /facebook/facebook-api.h
parente5e8c89a313637778ac730533c2d6b9c9254da75 (diff)
downloadbitlbee-facebook-82e6bcf0e6f22eeca7eda7ea95aaf8378df6ddef.tar.gz
bitlbee-facebook-82e6bcf0e6f22eeca7eda7ea95aaf8378df6ddef.tar.bz2
bitlbee-facebook-82e6bcf0e6f22eeca7eda7ea95aaf8378df6ddef.tar.xz
Use FetchContactsDeltaQuery for contact sync
This has a number of benefits: - Most of the time the contact sync reply will be empty - We can do contact sync more frequently (It's 5 mins now, was 30) - Figuring out what contacts were added or removed is much simpler and less likely to get things wrong. - Non-friends are no longer accidentally removed because there's no need to compare contact lists - On accounts with lots of friends this gets rid of one source of CPU usage spikes - Less load for facebook's servers (lol)
Diffstat (limited to 'facebook/facebook-api.h')
0 files changed, 0 insertions, 0 deletions