{"action":"created","issue":{"url":"https://api.github.com/repos/matrix-org/synapse/issues/2124","repository_url":"https://api.github.com/repos/matrix-org/synapse","labels_url":"https://api.github.com/repos/matrix-org/synapse/issues/2124/labels{/name}","comments_url":"https://api.github.com/repos/matrix-org/synapse/issues/2124/comments","events_url":"https://api.github.com/repos/matrix-org/synapse/issues/2124/events","html_url":"https://github.com/matrix-org/synapse/issues/2124","id":221210511,"number":2124,"title":"On my custom server, preview invitations contains matrixid instead of displayname","user":{"login":"jeangb","id":22364949,"avatar_url":"https://avatars2.githubusercontent.com/u/22364949?v=3","gravatar_id":"","url":"https://api.github.com/users/jeangb","html_url":"https://github.com/jeangb","followers_url":"https://api.github.com/users/jeangb/followers","following_url":"https://api.github.com/users/jeangb/following{/other_user}","gists_url":"https://api.github.com/users/jeangb/gists{/gist_id}","starred_url":"https://api.github.com/users/jeangb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeangb/subscriptions","organizations_url":"https://api.github.com/users/jeangb/orgs","repos_url":"https://api.github.com/users/jeangb/repos","events_url":"https://api.github.com/users/jeangb/events{/privacy}","received_events_url":"https://api.github.com/users/jeangb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-04-12T09:56:59Z","updated_at":"2017-04-26T15:19:44Z","closed_at":null,"body":"I use a home server recently created and _**not federated**_.\r\nOn this hs, I have user 1 and user 2, both have display names.\r\nThese both users share the same room (non public) with plenty of other users. So they should know each other display names.\r\n\r\nTo reproduce:\r\n\r\n1. With user1, start a new chat with user2 (on whatever client)\r\n\r\nOn user2, I'm expecting a preview invitation with the **display name** of user 1.\r\nInstead the preview invitation is named with the **matrix id** of user1.\r\nI won't have this problem if I use **matrix.org**."},"comment":{"url":"https://api.github.com/repos/matrix-org/synapse/issues/comments/297444133","html_url":"https://github.com/matrix-org/synapse/issues/2124#issuecomment-297444133","issue_url":"https://api.github.com/repos/matrix-org/synapse/issues/2124","id":297444133,"user":{"login":"erikjohnston","id":8428120,"avatar_url":"https://avatars3.githubusercontent.com/u/8428120?v=3","gravatar_id":"","url":"https://api.github.com/users/erikjohnston","html_url":"https://github.com/erikjohnston","followers_url":"https://api.github.com/users/erikjohnston/followers","following_url":"https://api.github.com/users/erikjohnston/following{/other_user}","gists_url":"https://api.github.com/users/erikjohnston/gists{/gist_id}","starred_url":"https://api.github.com/users/erikjohnston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikjohnston/subscriptions","organizations_url":"https://api.github.com/users/erikjohnston/orgs","repos_url":"https://api.github.com/users/erikjohnston/repos","events_url":"https://api.github.com/users/erikjohnston/events{/privacy}","received_events_url":"https://api.github.com/users/erikjohnston/received_events","type":"User","site_admin":false},"created_at":"2017-04-26T15:19:44Z","updated_at":"2017-04-26T15:19:44Z","body":"https://github.com/matrix-org/synapse/pull/2163"}}
{"actor":{"display_login":"erikjohnston"}}