{"action":"created","comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/comments/206123216","pull_request_review_id":141520727,"id":206123216,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjEyMzIxNg==","diff_hunk":"@@ -42,7 +42,7 @@ struct SEState {\n         let displayedRooms: [Subscription]\n         switch searchRooms {\n         case .none:\n-            displayedRooms = rooms\n+            displayedRooms = rooms.filter { $0.open }\n         case .searching(let search):\n             let search = search.lowercased()\n             displayedRooms = rooms.filter {","path":"Rocket.Chat.ShareExtension/State/SEState.swift","position":8,"original_position":8,"commit_id":"47a7670ac877f7941182ec48f696ee79b37b4ece","original_commit_id":"47a7670ac877f7941182ec48f696ee79b37b4ece","user":{"login":"rafaelks","id":551004,"node_id":"MDQ6VXNlcjU1MTAwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/551004?v=4","gravatar_id":"","url":"https://api.github.com/users/rafaelks","html_url":"https://github.com/rafaelks","followers_url":"https://api.github.com/users/rafaelks/followers","following_url":"https://api.github.com/users/rafaelks/following{/other_user}","gists_url":"https://api.github.com/users/rafaelks/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelks/subscriptions","organizations_url":"https://api.github.com/users/rafaelks/orgs","repos_url":"https://api.github.com/users/rafaelks/repos","events_url":"https://api.github.com/users/rafaelks/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelks/received_events","type":"User","site_admin":false},"body":"What about the `case .started:`? Do we need to add it here too?","created_at":"2018-07-30T13:00:13Z","updated_at":"2018-07-30T13:00:13Z","html_url":"https://github.com/RocketChat/Rocket.Chat.iOS/pull/2092#discussion_r206123216","pull_request_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/2092","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/comments/206123216"},"html":{"href":"https://github.com/RocketChat/Rocket.Chat.iOS/pull/2092#discussion_r206123216"},"pull_request":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/2092"}}},"pull_request":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/2092","id":204602674,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NjAyNjc0","html_url":"https://github.com/RocketChat/Rocket.Chat.iOS/pull/2092","diff_url":"https://github.com/RocketChat/Rocket.Chat.iOS/pull/2092.diff","patch_url":"https://github.com/RocketChat/Rocket.Chat.iOS/pull/2092.patch","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/issues/2092","number":2092,"state":"open","locked":false,"title":"[FIX] Filter hidden rooms from share extension","user":{"login":"Sameesunkaria","id":7317008,"node_id":"MDQ6VXNlcjczMTcwMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7317008?v=4","gravatar_id":"","url":"https://api.github.com/users/Sameesunkaria","html_url":"https://github.com/Sameesunkaria","followers_url":"https://api.github.com/users/Sameesunkaria/followers","following_url":"https://api.github.com/users/Sameesunkaria/following{/other_user}","gists_url":"https://api.github.com/users/Sameesunkaria/gists{/gist_id}","starred_url":"https://api.github.com/users/Sameesunkaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sameesunkaria/subscriptions","organizations_url":"https://api.github.com/users/Sameesunkaria/orgs","repos_url":"https://api.github.com/users/Sameesunkaria/repos","events_url":"https://api.github.com/users/Sameesunkaria/events{/privacy}","received_events_url":"https://api.github.com/users/Sameesunkaria/received_events","type":"User","site_admin":false},"body":"@RocketChat/ios\r\n\r\nCloses #2091 \r\n","created_at":"2018-07-28T17:27:03Z","updated_at":"2018-07-30T13:00:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a8324a18105c41cae67d0559c6d0eae3dd123796","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":243740868,"node_id":"MDU6TGFiZWwyNDM3NDA4Njg=","url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/labels/%F0%9F%90%9B%20bug","name":"🐛 bug","color":"ededed","default":false},{"id":889891132,"node_id":"MDU6TGFiZWw4ODk4OTExMzI=","url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/labels/%F0%9F%A5%83%20share%20extension","name":"🥃 share extension","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/2092/commits","review_comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/2092/comments","review_comment_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/issues/2092/comments","statuses_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/statuses/47a7670ac877f7941182ec48f696ee79b37b4ece","head":{"label":"Sameesunkaria:2091-filter-hidden-rooms-share-extension","ref":"2091-filter-hidden-rooms-share-extension","sha":"47a7670ac877f7941182ec48f696ee79b37b4ece","user":{"login":"Sameesunkaria","id":7317008,"node_id":"MDQ6VXNlcjczMTcwMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7317008?v=4","gravatar_id":"","url":"https://api.github.com/users/Sameesunkaria","html_url":"https://github.com/Sameesunkaria","followers_url":"https://api.github.com/users/Sameesunkaria/followers","following_url":"https://api.github.com/users/Sameesunkaria/following{/other_user}","gists_url":"https://api.github.com/users/Sameesunkaria/gists{/gist_id}","starred_url":"https://api.github.com/users/Sameesunkaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sameesunkaria/subscriptions","organizations_url":"https://api.github.com/users/Sameesunkaria/orgs","repos_url":"https://api.github.com/users/Sameesunkaria/repos","events_url":"https://api.github.com/users/Sameesunkaria/events{/privacy}","received_events_url":"https://api.github.com/users/Sameesunkaria/received_events","type":"User","site_admin":false},"repo":{"id":123831655,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM4MzE2NTU=","name":"Rocket.Chat.iOS","full_name":"Sameesunkaria/Rocket.Chat.iOS","owner":{"login":"Sameesunkaria","id":7317008,"node_id":"MDQ6VXNlcjczMTcwMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7317008?v=4","gravatar_id":"","url":"https://api.github.com/users/Sameesunkaria","html_url":"https://github.com/Sameesunkaria","followers_url":"https://api.github.com/users/Sameesunkaria/followers","following_url":"https://api.github.com/users/Sameesunkaria/following{/other_user}","gists_url":"https://api.github.com/users/Sameesunkaria/gists{/gist_id}","starred_url":"https://api.github.com/users/Sameesunkaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sameesunkaria/subscriptions","organizations_url":"https://api.github.com/users/Sameesunkaria/orgs","repos_url":"https://api.github.com/users/Sameesunkaria/repos","events_url":"https://api.github.com/users/Sameesunkaria/events{/privacy}","received_events_url":"https://api.github.com/users/Sameesunkaria/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sameesunkaria/Rocket.Chat.iOS","description":"Rocket.Chat Native iOS Application","fork":true,"url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS","forks_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/forks","keys_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/teams","hooks_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/hooks","issue_events_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/issues/events{/number}","events_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/events","assignees_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/assignees{/user}","branches_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/branches{/branch}","tags_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/tags","blobs_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/languages","stargazers_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/stargazers","contributors_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/contributors","subscribers_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/subscribers","subscription_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/subscription","commits_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/contents/{+path}","compare_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/merges","archive_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/downloads","issues_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/issues{/number}","pulls_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/labels{/name}","releases_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/releases{/id}","deployments_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/deployments","created_at":"2018-03-04T21:40:37Z","updated_at":"2018-07-18T12:25:39Z","pushed_at":"2018-07-28T17:25:19Z","git_url":"git://github.com/Sameesunkaria/Rocket.Chat.iOS.git","ssh_url":"git@github.com:Sameesunkaria/Rocket.Chat.iOS.git","clone_url":"https://github.com/Sameesunkaria/Rocket.Chat.iOS.git","svn_url":"https://github.com/Sameesunkaria/Rocket.Chat.iOS","homepage":null,"size":20276,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"RocketChat:develop","ref":"develop","sha":"b6d75351916db0192f4f12061994b3ce1a99e695","user":{"login":"RocketChat","id":12508788,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTA4Nzg4","avatar_url":"https://avatars1.githubusercontent.com/u/12508788?v=4","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"repo":{"id":40144228,"node_id":"MDEwOlJlcG9zaXRvcnk0MDE0NDIyOA==","name":"Rocket.Chat.iOS","full_name":"RocketChat/Rocket.Chat.iOS","owner":{"login":"RocketChat","id":12508788,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTA4Nzg4","avatar_url":"https://avatars1.githubusercontent.com/u/12508788?v=4","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RocketChat/Rocket.Chat.iOS","description":"Rocket.Chat Native iOS Application","fork":false,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS","forks_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/forks","keys_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/teams","hooks_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/hooks","issue_events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/issues/events{/number}","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/events","assignees_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/assignees{/user}","branches_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/branches{/branch}","tags_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/tags","blobs_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/languages","stargazers_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/stargazers","contributors_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/contributors","subscribers_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/subscribers","subscription_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/subscription","commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/contents/{+path}","compare_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/merges","archive_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/downloads","issues_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/issues{/number}","pulls_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/labels{/name}","releases_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/releases{/id}","deployments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/deployments","created_at":"2015-08-03T19:37:05Z","updated_at":"2018-07-30T12:07:01Z","pushed_at":"2018-07-30T11:24:36Z","git_url":"git://github.com/RocketChat/Rocket.Chat.iOS.git","ssh_url":"git@github.com:RocketChat/Rocket.Chat.iOS.git","clone_url":"https://github.com/RocketChat/Rocket.Chat.iOS.git","svn_url":"https://github.com/RocketChat/Rocket.Chat.iOS","homepage":null,"size":20904,"stargazers_count":665,"watchers_count":665,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":281,"mirror_url":null,"archived":false,"open_issues_count":99,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":281,"open_issues":99,"watchers":665,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/2092"},"html":{"href":"https://github.com/RocketChat/Rocket.Chat.iOS/pull/2092"},"issue":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/issues/2092"},"comments":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/issues/2092/comments"},"review_comments":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/2092/comments"},"review_comment":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/2092/commits"},"statuses":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/statuses/47a7670ac877f7941182ec48f696ee79b37b4ece"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"rafaelks"}}