Now that Empathy's connectivity code (NetworkManager, Conman) has been ported to MC, I'm trying to remove it from Empathy. I dropped the code changing our TP presence when connectivity is dropped but can't remove the whole code because it's still used in 2 places: a) Empathy's presence chooser is unsensitived when network is offline b) Empathy account dialog display a specific message when accounts are offline because the network is down. Code duplication isn't great and this could also lead to some weird case where MC and Empathy doesn't agree if the network is up or not (for whatever reasons). So maybe Empathy should get the connectivity info directly from MC so we'll be sure that it reflects the actual state of MC. b) could be solved by adding a NetworkDown Connection_Status_Reason or something. Not sure for a), maybe a new interface of the AccountManager?
I'm considering to switch to GNetworkMonitor in Empathy ( https://bugzilla.gnome.org/show_bug.cgi?id=672976 ) but ideally we should really get this info from MC. Some thoughts about this issue would be welcome if only to know if I'm on crack or not.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-mission-control/issues/51.
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.