{"action":"created","issue":{"url":"https://api.github.com/repos/matrix-org/dendrite/issues/568","repository_url":"https://api.github.com/repos/matrix-org/dendrite","labels_url":"https://api.github.com/repos/matrix-org/dendrite/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/matrix-org/dendrite/issues/568/comments","events_url":"https://api.github.com/repos/matrix-org/dendrite/issues/568/events","html_url":"https://github.com/matrix-org/dendrite/pull/568","id":346860683,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1NjE5MzM0","number":568,"title":"URI to UID API","user":{"login":"rederekt","id":4472562,"node_id":"MDQ6VXNlcjQ0NzI1NjI=","avatar_url":"https://avatars1.githubusercontent.com/u/4472562?v=4","gravatar_id":"","url":"https://api.github.com/users/rederekt","html_url":"https://github.com/rederekt","followers_url":"https://api.github.com/users/rederekt/followers","following_url":"https://api.github.com/users/rederekt/following{/other_user}","gists_url":"https://api.github.com/users/rederekt/gists{/gist_id}","starred_url":"https://api.github.com/users/rederekt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rederekt/subscriptions","organizations_url":"https://api.github.com/users/rederekt/orgs","repos_url":"https://api.github.com/users/rederekt/repos","events_url":"https://api.github.com/users/rederekt/events{/privacy}","received_events_url":"https://api.github.com/users/rederekt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-02T05:04:21Z","updated_at":"2018-08-04T01:52:25Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/matrix-org/dendrite/pulls/568","html_url":"https://github.com/matrix-org/dendrite/pull/568","diff_url":"https://github.com/matrix-org/dendrite/pull/568.diff","patch_url":"https://github.com/matrix-org/dendrite/pull/568.patch"},"body":"I'm looking for guidance on how to properly implement the URI-to-User ID mapping since the [spec](https://matrix.org/docs/spec/application_service/unstable.html#user-ids) leaves the implementation pretty open-ended. I tried looking to synapse and matrix-docs for guidance, but I couldn't find anything substantial or definitive. Am I missing anything? If I am, I'd appreciate a link to the agreed-upon mapping.  If not, what are your thoughts on mapping URIs to User IDs? Right now, I just replace all the illegal characters with underscores. I'm guessing this isn't good enough, but it's a starting point for a discussion (if one is necessary). Thank you!\r\n\r\n(Fixes #457 )"},"comment":{"url":"https://api.github.com/repos/matrix-org/dendrite/issues/comments/410413868","html_url":"https://github.com/matrix-org/dendrite/pull/568#issuecomment-410413868","issue_url":"https://api.github.com/repos/matrix-org/dendrite/issues/568","id":410413868,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDQxMzg2OA==","user":{"login":"rederekt","id":4472562,"node_id":"MDQ6VXNlcjQ0NzI1NjI=","avatar_url":"https://avatars1.githubusercontent.com/u/4472562?v=4","gravatar_id":"","url":"https://api.github.com/users/rederekt","html_url":"https://github.com/rederekt","followers_url":"https://api.github.com/users/rederekt/followers","following_url":"https://api.github.com/users/rederekt/following{/other_user}","gists_url":"https://api.github.com/users/rederekt/gists{/gist_id}","starred_url":"https://api.github.com/users/rederekt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rederekt/subscriptions","organizations_url":"https://api.github.com/users/rederekt/orgs","repos_url":"https://api.github.com/users/rederekt/repos","events_url":"https://api.github.com/users/rederekt/events{/privacy}","received_events_url":"https://api.github.com/users/rederekt/received_events","type":"User","site_admin":false},"created_at":"2018-08-04T01:52:25Z","updated_at":"2018-08-04T01:52:25Z","author_association":"CONTRIBUTOR","body":"I added some parallelization, although taking a look at #561 , it may be more appropriate to wait for that PR to merge before moving forward with this one, since it contains several helpful functions for App Service APIs. I can put this on hold until that point if you agree."}}
{"actor":{"display_login":"rederekt"}}