{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/776","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/776/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/776/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/776/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/776","id":106173582,"number":776,"title":"Hide \"More private groups\" when the user has no private groups.","user":{"login":"Morgul","id":770655,"avatar_url":"https://avatars.githubusercontent.com/u/770655?v=3","gravatar_id":"","url":"https://api.github.com/users/Morgul","html_url":"https://github.com/Morgul","followers_url":"https://api.github.com/users/Morgul/followers","following_url":"https://api.github.com/users/Morgul/following{/other_user}","gists_url":"https://api.github.com/users/Morgul/gists{/gist_id}","starred_url":"https://api.github.com/users/Morgul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morgul/subscriptions","organizations_url":"https://api.github.com/users/Morgul/orgs","repos_url":"https://api.github.com/users/Morgul/repos","events_url":"https://api.github.com/users/Morgul/events{/privacy}","received_events_url":"https://api.github.com/users/Morgul/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/Enhancement","name":"Enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/Good%20first%20task","name":"Good first task","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-12T17:28:25Z","updated_at":"2015-09-12T19:20:48Z","closed_at":null,"body":"Just noticed that if you have no private groups, you're still given the option of looking for more private groups, which clearly, you won't have:\r\n\r\n<img width=\"248\" alt=\"screen shot 2015-09-12 at 12 26 03 pm\" src=\"https://cloud.githubusercontent.com/assets/770655/9832720/9a2e6926-5949-11e5-8193-5a0e2e4b1b92.png\">\r\n\r\nProbably should only show 'More private groups' once the user has more than a set limit. 3? 5? Not sure what the best limit is."},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/139810993","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/776#issuecomment-139810993","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/776","id":139810993,"user":{"login":"gmsecrieru","id":190883,"avatar_url":"https://avatars.githubusercontent.com/u/190883?v=3","gravatar_id":"","url":"https://api.github.com/users/gmsecrieru","html_url":"https://github.com/gmsecrieru","followers_url":"https://api.github.com/users/gmsecrieru/followers","following_url":"https://api.github.com/users/gmsecrieru/following{/other_user}","gists_url":"https://api.github.com/users/gmsecrieru/gists{/gist_id}","starred_url":"https://api.github.com/users/gmsecrieru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmsecrieru/subscriptions","organizations_url":"https://api.github.com/users/gmsecrieru/orgs","repos_url":"https://api.github.com/users/gmsecrieru/repos","events_url":"https://api.github.com/users/gmsecrieru/events{/privacy}","received_events_url":"https://api.github.com/users/gmsecrieru/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T19:20:48Z","updated_at":"2015-09-12T19:20:48Z","body":"I kept thinking about the suggested limit and IMHO this would go beyond the issue itself, which was displaying a \"useless\" UI element. \r\n\r\nLet me know what you folks think about [this suggestion](https://github.com/gmsecrieru/Rocket.Chat/commit/55d9b111207d39ae97f7d6b492efbecd2f8a1300) so I can move this further or open a PR later today :)"}}