On Sat, Apr 23, 2011 at 1:31 AM, David Edmundson <da...@davidedmundson.co.uk > wrote:
> I'm trying to put full profile support into KDE Telepathy and have > encountered a problem. > > I create a new account using a profile (say Facebook for example), I can > show a perfect form, with the default values and such. However as soon as I > access the account again it has no idea what profile to be using - and when > I access account->profile() it's just a normal fake jabber one. > > This seems quite sensible because I never tell the account manager what > profile I'm using anywhere. I would have expected an extra parameter to > AccountManager::CreateAccount with QString profileName. > > Where do I tell an account what profile it is using? > > The only vaguely possible thing I can see is to set > "com.nokia.Account.Interface.Compat.Profile" in the properties QVariantMap, > is that the right approach? what am I meant to set it to? > > Thanks in advance > > Dave > > Managed to answer my own question: setServiceName() on the newly created account. Can I still request/suggest that serviceName becomes an optional parameter to AccountManager::CreateAccount() ?
_______________________________________________ telepathy mailing list telepathy@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/telepathy