[Bug 52231] Storage plugins should be able to create new accounts
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jul 18 21:55:41 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=52231
--- Comment #2 from Xavier Claessens <xclaesse at gmail.com> 2012-07-18 12:55:41 PDT ---
How MC currently store new account is by creating a unique_name, then telling
the storage all the key/value to save for that unique_name. Of course as none
of the plugins will know that unique_name they all will return FALSE except for
the default storage.
So we need a function before settings the values to tell the storage "hey, here
is a new account that you should be dealing with" so that when MC set the keys
on the storage, that specific plugin store those keys and return TRUE
It also let the plugin decide of the unique_name to use for that account, so
for example storage "Badger" could want to prefix all account names with
"badger_"
And finally, the plugin could decide based on the args that it can't deal with
such account. In which case I guess raising a GError would be better indeed.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list