changelog
- Sun, 25 Jun 2017 04:57:28 -0300
- by dx <dx@dxzone.com.ar> [Sun, 25 Jun 2017 04:57:28 -0300] rev 38401
- facebook: Fix return type of "error" signal
Might fix a crash when the error signal is raised and glib has G_ENABLE_DEBUG,
but not sure if it affects this version of the code.
See bitlbee-facebook commit 99e31624 for details.
- Sun, 25 Jun 2017 04:55:42 -0300
- by dx <dx@dxzone.com.ar> [Sun, 25 Jun 2017 04:55:42 -0300] rev 38400
- facebook: Fix receiving attachments
Broke in earlier refactoring
- Sun, 25 Jun 2017 04:53:16 -0300
- by dx <dx@dxzone.com.ar> [Sun, 25 Jun 2017 04:53:16 -0300] rev 38399
- facebook: Fix creating threads, inviting, kicking members (misc api changes)
- Sun, 25 Jun 2017 04:45:40 -0300
- by dx <dx@dxzone.com.ar> [Sun, 25 Jun 2017 04:45:40 -0300] rev 38398
- facebook: Fix setting channel topics (tid=t_id.1234 is no longer valid)
The server expects the tid parameter to be just the tid now.
- Sun, 25 Jun 2017 04:44:19 -0300
- by dx <dx@dxzone.com.ar> [Sun, 25 Jun 2017 04:44:19 -0300] rev 38397
- facebook: Handle new style topic/groupchat membership events
Looks like the mercury topics were deprecated and instead we get these:
* deltaThreadName
* deltaParticipantsAddedToGroupThread
* deltaParticipantLeftGroupThread
Also slightly modified the handlers on the UI side to add users
directly without requiring a thread fetch, and to show a kick message
- Sun, 25 Jun 2017 04:16:48 -0300
- by dx <dx@dxzone.com.ar> [Sun, 25 Jun 2017 04:16:48 -0300] rev 38396
- facebook: Refactor, split fb_api_cb_publish_ms into ..._new_message
- Sun, 25 Jun 2017 04:07:39 -0300
- by Mickaël Thomas <mickael9@gmail.com> [Sun, 25 Jun 2017 04:07:39 -0300] rev 38395
- facebook: Extract target url from fbrpc:// URLs
Those URLs seem to be generated when the Android share feature is used.
(Adapted for purple-facebook by dx, minor naming differences)
- Sun, 25 Jun 2017 04:01:56 -0300
- by dx <dx@dxzone.com.ar> [Sun, 25 Jun 2017 04:01:56 -0300] rev 38394
- facebook: 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)
- Sun, 25 Jun 2017 02:30:13 -0300
- by dx <dx@dxzone.com.ar> [Sun, 25 Jun 2017 02:30:13 -0300] rev 38393
- facebook: Refactor, split off sync timeout code from fb_cb_api_contacts
- Sun, 25 Jun 2017 02:18:22 -0300
- by dx <dx@dxzone.com.ar> [Sun, 25 Jun 2017 02:18:22 -0300] rev 38392
- facebook: Update some graphql query hashes
And add the FetchContactsDeltaQuery one.