Summary: | Implement Facebook's power saving mode | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Marco Barisione <marco.barisione> |
Component: | gabble | Assignee: | Marco Barisione <marco.barisione> |
Status: | RESOLVED WONTFIX | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | devurandom, rishi.is |
Version: | git master | Keywords: | patch |
Hardware: | Other | ||
OS: | All | ||
URL: | http://cgit.collabora.com/git/user/bari/telepathy-gabble.git/log/?h=facebook-power-saving | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Marco Barisione
2011-07-04 03:37:08 UTC
Perhaps it would be better to check is_facebook() once, rather than every time we think about changing powersaving state? We could add GABBLE_CONNECTION_FEATURES_FACEBOOK_SUSPEND and set it in connector_connected() based on the connection_disco_cb (probably outside the if/else; I don't know if Facebook is well-behaved enough to reply properly to disco queries?) or some similar place? This would make it consistent with the Google code. Is GabbleConnection:connect-server guaranteed to be set? At least on MeeGo Netbook, I think we just used { 'account': 'chat.facebook.com' } for the account parameters; and Empathy sets { 'account': 'username@chat.facebook.com' }. I would like the test to test the case where 'server' is not provided, even if this does already work. (In reply to comment #1) > Perhaps it would be better to check is_facebook() once, rather than every time > we think about changing powersaving state? We could add > GABBLE_CONNECTION_FEATURES_FACEBOOK_SUSPEND and set it in connector_connected() > based on the connection_disco_cb (probably outside the if/else; I don't know > if Facebook is well-behaved enough to reply properly to disco queries?) or some > similar place? This would make it consistent with the Google code. I will take a look at this. > Is GabbleConnection:connect-server guaranteed to be set? At least on MeeGo > Netbook, I think we just used { 'account': 'chat.facebook.com' } for the > account parameters; and Empathy sets { 'account': 'username@chat.facebook.com' > }. I would like the test to test the case where 'server' is not provided, even > if this does already work. I think I checked this and it works fine. I can improve the test to check for this condition too. Considering Facebook killed XMPP access in April 30, 2015, this bug is no longer relevant. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.