[Bug 28469] New: [PATCH] add support for PurpleAccountUserSplit
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jun 9 20:18:28 CEST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=28469
Summary: [PATCH] add support for PurpleAccountUserSplit
Product: Telepathy
Version: 0.10
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: medium
Component: haze
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: stefan.becker at nokia.com
QAContact: telepathy-bugs at lists.freedesktop.org
Created an attachment (id=36180)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36180)
Output from git-format-patch
On Maemo/MeeGo (at least on the N900) it is impossible to enter "," in the
Account Setup UI, as it is rejected as illegal character. This poses a problem
for protocols that use PurpleAccountUserSplit, because telepathy-haze maps the
account name to one string attribute and that must contain the real Purple
account name *with* ",", e.g.
joe.d.user at company.com,DOMAIN\jduser
The attached patch contains a proposal how to map user splits automatically to
multiple fields:
- backward compatible, i.e. it is only enabled for known protocols that
define a mapping
- known_protocols_info: add "usersplit1:param1,usersplit2:param2,..." to the
mapping string, one "usersplitX" for each PurpleAccountUserSplit used by the
protocol
- "param1" is the name visible to the telepathy UI as mandatory parameter
- when the account is created merge all "usersplitX" fields to the real
Purple account name
I have added "sipe" (http://sipe.sourceforge.net) to the list of known
protocols and used it as an example to test the implementation. The patch is
based on todays git HEAD.
--
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