diff options
author | dequis <dx@dxzone.com.ar> | 2017-01-07 23:50:10 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2017-01-08 00:02:30 -0300 |
commit | 82e6bcf0e6f22eeca7eda7ea95aaf8378df6ddef (patch) | |
tree | 9aa5d95e11573d4a568a8cc44ab64a6240297000 /facebook/facebook-api.h | |
parent | e5e8c89a313637778ac730533c2d6b9c9254da75 (diff) | |
download | bitlbee-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