payload: {"action":"created","comment":{"url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/pulls/comments/261279720","pull_request_review_id":209178463,"id":261279720,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI2MTI3OTcyMA==","diff_hunk":"@@ -143,8 +147,10 @@ module.exports = React.createClass({\n         // too. If it's changed, appending to the list will corrupt it.\n         const my_next_batch = this.nextBatch;\n         const opts = {limit: 20};\n-        if (my_server != MatrixClientPeg.getHomeServerName()) {\n+        if (my_server != MatrixClientPeg.getHomeServerName() && !svr) {","path":"src/components/structures/RoomDirectory.js","position":38,"original_position":38,"commit_id":"fdb1019fd038a7e5675f1138a5d35d6ec9956286","original_commit_id":"fdb1019fd038a7e5675f1138a5d35d6ec9956286","user":{"login":"giomfo","id":8969772,"node_id":"MDQ6VXNlcjg5Njk3NzI=","avatar_url":"https://avatars3.githubusercontent.com/u/8969772?v=4","gravatar_id":"","url":"https://api.github.com/users/giomfo","html_url":"https://github.com/giomfo","followers_url":"https://api.github.com/users/giomfo/followers","following_url":"https://api.github.com/users/giomfo/following{/other_user}","gists_url":"https://api.github.com/users/giomfo/gists{/gist_id}","starred_url":"https://api.github.com/users/giomfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giomfo/subscriptions","organizations_url":"https://api.github.com/users/giomfo/orgs","repos_url":"https://api.github.com/users/giomfo/repos","events_url":"https://api.github.com/users/giomfo/events{/privacy}","received_events_url":"https://api.github.com/users/giomfo/received_events","type":"User","site_admin":false},"body":"you should ignore svr if it is equal to MatrixClientPeg.getHomeServerName()","created_at":"2019-02-28T16:34:54Z","updated_at":"2019-02-28T16:58:56Z","html_url":"https://github.com/dinsic-pim/matrix-react-sdk/pull/155#discussion_r261279720","pull_request_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/pulls/155","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/pulls/comments/261279720"},"html":{"href":"https://github.com/dinsic-pim/matrix-react-sdk/pull/155#discussion_r261279720"},"pull_request":{"href":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/pulls/155"}}},"pull_request":{"url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/pulls/155","id":257067420,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU3MDY3NDIw","html_url":"https://github.com/dinsic-pim/matrix-react-sdk/pull/155","diff_url":"https://github.com/dinsic-pim/matrix-react-sdk/pull/155.diff","patch_url":"https://github.com/dinsic-pim/matrix-react-sdk/pull/155.patch","issue_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/issues/155","number":155,"state":"open","locked":false,"title":"Bug Fix - Public rooms : No rooms from federation are shown when a search is done","user":{"login":"Yoshiin","id":2992581,"node_id":"MDQ6VXNlcjI5OTI1ODE=","avatar_url":"https://avatars0.githubusercontent.com/u/2992581?v=4","gravatar_id":"","url":"https://api.github.com/users/Yoshiin","html_url":"https://github.com/Yoshiin","followers_url":"https://api.github.com/users/Yoshiin/followers","following_url":"https://api.github.com/users/Yoshiin/following{/other_user}","gists_url":"https://api.github.com/users/Yoshiin/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoshiin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoshiin/subscriptions","organizations_url":"https://api.github.com/users/Yoshiin/orgs","repos_url":"https://api.github.com/users/Yoshiin/repos","events_url":"https://api.github.com/users/Yoshiin/events{/privacy}","received_events_url":"https://api.github.com/users/Yoshiin/received_events","type":"User","site_admin":false},"body":"Fixing a bug where no public rooms are listed when a search is done on public rooms directory.\r\n\r\nResolve dinsic-pim/riot-web#25","created_at":"2019-02-28T13:22:58Z","updated_at":"2019-02-28T16:58:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8348aa6c6360e94d9849247d93342b2e2d17a5c5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":868076849,"node_id":"MDU6TGFiZWw4NjgwNzY4NDk=","url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/labels/agent","name":"agent","color":"cfd3d7","default":false},{"id":1224300644,"node_id":"MDU6TGFiZWwxMjI0MzAwNjQ0","url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/labels/beta","name":"beta","color":"1a5fce","default":false},{"id":868076848,"node_id":"MDU6TGFiZWw4NjgwNzY4NDg=","url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/labels/bug","name":"bug","color":"c64550","default":true}],"milestone":{"url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/milestones/11","html_url":"https://github.com/dinsic-pim/matrix-react-sdk/milestone/11","labels_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/milestones/11/labels","id":4095717,"node_id":"MDk6TWlsZXN0b25lNDA5NTcxNw==","number":11,"title":"Sprint16","description":"","creator":{"login":"Yoshiin","id":2992581,"node_id":"MDQ6VXNlcjI5OTI1ODE=","avatar_url":"https://avatars0.githubusercontent.com/u/2992581?v=4","gravatar_id":"","url":"https://api.github.com/users/Yoshiin","html_url":"https://github.com/Yoshiin","followers_url":"https://api.github.com/users/Yoshiin/followers","following_url":"https://api.github.com/users/Yoshiin/following{/other_user}","gists_url":"https://api.github.com/users/Yoshiin/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoshiin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoshiin/subscriptions","organizations_url":"https://api.github.com/users/Yoshiin/orgs","repos_url":"https://api.github.com/users/Yoshiin/repos","events_url":"https://api.github.com/users/Yoshiin/events{/privacy}","received_events_url":"https://api.github.com/users/Yoshiin/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2019-02-28T08:27:00Z","updated_at":"2019-02-28T15:50:03Z","due_on":"2019-03-21T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/pulls/155/commits","review_comments_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/pulls/155/comments","review_comment_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/issues/155/comments","statuses_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/statuses/fdb1019fd038a7e5675f1138a5d35d6ec9956286","head":{"label":"dinsic-pim:DINSIC_sp16_Fix_Search_In_Public_Rooms","ref":"DINSIC_sp16_Fix_Search_In_Public_Rooms","sha":"fdb1019fd038a7e5675f1138a5d35d6ec9956286","user":{"login":"dinsic-pim","id":35118060,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1MTE4MDYw","avatar_url":"https://avatars3.githubusercontent.com/u/35118060?v=4","gravatar_id":"","url":"https://api.github.com/users/dinsic-pim","html_url":"https://github.com/dinsic-pim","followers_url":"https://api.github.com/users/dinsic-pim/followers","following_url":"https://api.github.com/users/dinsic-pim/following{/other_user}","gists_url":"https://api.github.com/users/dinsic-pim/gists{/gist_id}","starred_url":"https://api.github.com/users/dinsic-pim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinsic-pim/subscriptions","organizations_url":"https://api.github.com/users/dinsic-pim/orgs","repos_url":"https://api.github.com/users/dinsic-pim/repos","events_url":"https://api.github.com/users/dinsic-pim/events{/privacy}","received_events_url":"https://api.github.com/users/dinsic-pim/received_events","type":"Organization","site_admin":false},"repo":{"id":125346346,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUzNDYzNDY=","name":"matrix-react-sdk","full_name":"dinsic-pim/matrix-react-sdk","private":false,"owner":{"login":"dinsic-pim","id":35118060,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1MTE4MDYw","avatar_url":"https://avatars3.githubusercontent.com/u/35118060?v=4","gravatar_id":"","url":"https://api.github.com/users/dinsic-pim","html_url":"https://github.com/dinsic-pim","followers_url":"https://api.github.com/users/dinsic-pim/followers","following_url":"https://api.github.com/users/dinsic-pim/following{/other_user}","gists_url":"https://api.github.com/users/dinsic-pim/gists{/gist_id}","starred_url":"https://api.github.com/users/dinsic-pim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinsic-pim/subscriptions","organizations_url":"https://api.github.com/users/dinsic-pim/orgs","repos_url":"https://api.github.com/users/dinsic-pim/repos","events_url":"https://api.github.com/users/dinsic-pim/events{/privacy}","received_events_url":"https://api.github.com/users/dinsic-pim/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dinsic-pim/matrix-react-sdk","description":"Matrix SDK for React Javascript","fork":true,"url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk","forks_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/forks","keys_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/teams","hooks_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/hooks","issue_events_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/events","assignees_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/tags","blobs_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/languages","stargazers_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/stargazers","contributors_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/contributors","subscribers_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/subscribers","subscription_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/subscription","commits_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/merges","archive_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/downloads","issues_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/labels{/name}","releases_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/deployments","created_at":"2018-03-15T09:52:28Z","updated_at":"2019-02-28T08:21:05Z","pushed_at":"2019-02-28T15:37:50Z","git_url":"git://github.com/dinsic-pim/matrix-react-sdk.git","ssh_url":"git@github.com:dinsic-pim/matrix-react-sdk.git","clone_url":"https://github.com/dinsic-pim/matrix-react-sdk.git","svn_url":"https://github.com/dinsic-pim/matrix-react-sdk","homepage":null,"size":20545,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":10,"watchers":6,"default_branch":"develop-beta"}},"base":{"label":"dinsic-pim:develop-beta","ref":"develop-beta","sha":"91497112ed4496a09ed0fa3e8a0055df85e34a51","user":{"login":"dinsic-pim","id":35118060,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1MTE4MDYw","avatar_url":"https://avatars3.githubusercontent.com/u/35118060?v=4","gravatar_id":"","url":"https://api.github.com/users/dinsic-pim","html_url":"https://github.com/dinsic-pim","followers_url":"https://api.github.com/users/dinsic-pim/followers","following_url":"https://api.github.com/users/dinsic-pim/following{/other_user}","gists_url":"https://api.github.com/users/dinsic-pim/gists{/gist_id}","starred_url":"https://api.github.com/users/dinsic-pim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinsic-pim/subscriptions","organizations_url":"https://api.github.com/users/dinsic-pim/orgs","repos_url":"https://api.github.com/users/dinsic-pim/repos","events_url":"https://api.github.com/users/dinsic-pim/events{/privacy}","received_events_url":"https://api.github.com/users/dinsic-pim/received_events","type":"Organization","site_admin":false},"repo":{"id":125346346,"node_id":"MDEwOlJlcG9zaXRvcnkxMjUzNDYzNDY=","name":"matrix-react-sdk","full_name":"dinsic-pim/matrix-react-sdk","private":false,"owner":{"login":"dinsic-pim","id":35118060,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1MTE4MDYw","avatar_url":"https://avatars3.githubusercontent.com/u/35118060?v=4","gravatar_id":"","url":"https://api.github.com/users/dinsic-pim","html_url":"https://github.com/dinsic-pim","followers_url":"https://api.github.com/users/dinsic-pim/followers","following_url":"https://api.github.com/users/dinsic-pim/following{/other_user}","gists_url":"https://api.github.com/users/dinsic-pim/gists{/gist_id}","starred_url":"https://api.github.com/users/dinsic-pim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinsic-pim/subscriptions","organizations_url":"https://api.github.com/users/dinsic-pim/orgs","repos_url":"https://api.github.com/users/dinsic-pim/repos","events_url":"https://api.github.com/users/dinsic-pim/events{/privacy}","received_events_url":"https://api.github.com/users/dinsic-pim/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dinsic-pim/matrix-react-sdk","description":"Matrix SDK for React Javascript","fork":true,"url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk","forks_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/forks","keys_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/teams","hooks_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/hooks","issue_events_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/events","assignees_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/tags","blobs_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/languages","stargazers_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/stargazers","contributors_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/contributors","subscribers_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/subscribers","subscription_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/subscription","commits_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/merges","archive_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/downloads","issues_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/labels{/name}","releases_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/deployments","created_at":"2018-03-15T09:52:28Z","updated_at":"2019-02-28T08:21:05Z","pushed_at":"2019-02-28T15:37:50Z","git_url":"git://github.com/dinsic-pim/matrix-react-sdk.git","ssh_url":"git@github.com:dinsic-pim/matrix-react-sdk.git","clone_url":"https://github.com/dinsic-pim/matrix-react-sdk.git","svn_url":"https://github.com/dinsic-pim/matrix-react-sdk","homepage":null,"size":20545,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":10,"watchers":6,"default_branch":"develop-beta"}},"_links":{"self":{"href":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/pulls/155"},"html":{"href":"https://github.com/dinsic-pim/matrix-react-sdk/pull/155"},"issue":{"href":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/issues/155"},"comments":{"href":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/issues/155/comments"},"review_comments":{"href":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/pulls/155/comments"},"review_comment":{"href":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/pulls/155/commits"},"statuses":{"href":"https://api.github.com/repos/dinsic-pim/matrix-react-sdk/statuses/fdb1019fd038a7e5675f1138a5d35d6ec9956286"}},"author_association":"COLLABORATOR"}}
other: {"actor":{"display_login":"giomfo"}}