[chat service] mxid as new data in eclipse user account profil
Summary
Api account/profile
manage this two properties mail
, ``twitter_handle
Additionally, would it be possible to add mxid (Matrix identifier) as a new property and allow users to enter this data on their account profile webpage?
The use case is to identify and manage future moderators of rooms/spaces by for instance, allowing project lead to be by default moderator, or delegate this role to another commiter.
Users who own a Matrix account on matrix.eclipse.org
are registered with an email address, so it's easy to find the link between mxid and email.
With matrix API: `https://matrix.eclipse.org/_synapse/admin/v1/threepid/email/users/sebastien.heurtematte%40eclipse-foundation.org
However, for federated accounts, it's impossible to obtain this information.
Therefore, the only way is for Eclipse committers to add this information to their profile page and make it accessible via API.
What is the current behavior?
Current value from API: https://api.eclipse.org/#operation/SearchForAUser
{
"uid": 9,
"name": "cguindon",
"mail": "chris.guindon@eclipse-foundation.org",
"eca":
{},
"is_committer": true,
"friends":
{},
"first_name": "Christopher",
"last_name": "Guindon",
"twitter_handle": "chrisguindon",
"org": "Eclipse Foundation",
"job_title": "Lead Web Application Developper",
"website": "http://www.chrisguindon.com/",
"country":
{},
"bio": "Hello world! When I am not at a computer, which is rare, I spend my time playing the drums, watching hockey or at the top of a hill snowboarding. I am also very passionate about music and live concerts!",
"interests": []
}
What is the expected correct behavior?
{
....
"first_name": "Christopher",
"last_name": "Guindon",
"twitter_handle": "chrisguindon",
"mxid": "@christopher.guindon:matrix.eclipse.com"
...
}