{"action":"created","issue":{"url":"https://api.github.com/repos/matrix-org/synapse/issues/265","labels_url":"https://api.github.com/repos/matrix-org/synapse/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/matrix-org/synapse/issues/265/comments","events_url":"https://api.github.com/repos/matrix-org/synapse/issues/265/events","html_url":"https://github.com/matrix-org/synapse/pull/265","id":104282452,"number":265,"title":"Check room exists when authenticating an event","user":{"login":"erikjohnston","id":8428120,"avatar_url":"https://avatars.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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-01T14:43:52Z","updated_at":"2015-09-02T16:26:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/matrix-org/synapse/pulls/265","html_url":"https://github.com/matrix-org/synapse/pull/265","diff_url":"https://github.com/matrix-org/synapse/pull/265.diff","patch_url":"https://github.com/matrix-org/synapse/pull/265.patch"},"body":"This breaks setting an alias for a room ID that doesn't exist yet, which is probably a feature. Though it does break a sytest test."},"comment":{"url":"https://api.github.com/repos/matrix-org/synapse/issues/comments/137155741","html_url":"https://github.com/matrix-org/synapse/pull/265#issuecomment-137155741","issue_url":"https://api.github.com/repos/matrix-org/synapse/issues/265","id":137155741,"user":{"login":"NegativeMjark","id":904009,"avatar_url":"https://avatars.githubusercontent.com/u/904009?v=3","gravatar_id":"","url":"https://api.github.com/users/NegativeMjark","html_url":"https://github.com/NegativeMjark","followers_url":"https://api.github.com/users/NegativeMjark/followers","following_url":"https://api.github.com/users/NegativeMjark/following{/other_user}","gists_url":"https://api.github.com/users/NegativeMjark/gists{/gist_id}","starred_url":"https://api.github.com/users/NegativeMjark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NegativeMjark/subscriptions","organizations_url":"https://api.github.com/users/NegativeMjark/orgs","repos_url":"https://api.github.com/users/NegativeMjark/repos","events_url":"https://api.github.com/users/NegativeMjark/events{/privacy}","received_events_url":"https://api.github.com/users/NegativeMjark/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T16:26:34Z","updated_at":"2015-09-02T16:26:34Z","body":"In particular it fails sytest/tests/50federation/11query-directory.pl.\r\n\r\nWhich seems to be making a request to:\r\n\r\n    PUT https://localhost:8001/_matrix/client/api/v1/directory/room/%2350federation-11query-directory:localhost:8001\r\n    Host: localhost\r\n    Content-Type: application/json\r\n    \r\n    {\"room_id\":\"!the-room-id-for-test:example.org\",\"servers\":[\"example.org\"]}\r\n\r\n\r\n\r\n\r\n"}}