TpAccountManager: have a concept of the global presence that new accounts get
Submitted by Simon McVittie
Assigned to Telepathy bugs list
Description
From Bug #24061:
TpConnectionPresenceType tp_account_manager_get_requested_global_presence ( TpAccountManager *manager, gchar **status, gchar **message);
Can this be removed? I'm not sure why we need it.
Basically the issue (as discussed at various points) is that we can't know from the AM what the user last set as a presence. This is particularily annoying when creating a new account, as we don't know what its initial status should be. This function allows one to at least have a proper default. Ofcourse it only works as long as the presence setter and the account UI are the same process, which hopefully will stop being so during the G2.29 series.
We should have a proper way to do this over D-Bus (which I'd prefer phrased as "the default presence for new accounts" rather than "the global presence"), and when we do, we can add that to the TpAM API.