{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/2763","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/2763/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/2763/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/2763/events","html_url":"https://github.com/RocketChat/Rocket.Chat/pull/2763","id":145830604,"number":2763,"title":"Add ability to hide embedded media","user":{"login":"brakhane","id":541637,"avatar_url":"https://avatars.githubusercontent.com/u/541637?v=3","gravatar_id":"","url":"https://api.github.com/users/brakhane","html_url":"https://github.com/brakhane","followers_url":"https://api.github.com/users/brakhane/followers","following_url":"https://api.github.com/users/brakhane/following{/other_user}","gists_url":"https://api.github.com/users/brakhane/gists{/gist_id}","starred_url":"https://api.github.com/users/brakhane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brakhane/subscriptions","organizations_url":"https://api.github.com/users/brakhane/orgs","repos_url":"https://api.github.com/users/brakhane/repos","events_url":"https://api.github.com/users/brakhane/events{/privacy}","received_events_url":"https://api.github.com/users/brakhane/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/type:%20improvement","name":"type: improvement","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":{"login":"rodrigok","id":234261,"avatar_url":"https://avatars.githubusercontent.com/u/234261?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigok","html_url":"https://github.com/rodrigok","followers_url":"https://api.github.com/users/rodrigok/followers","following_url":"https://api.github.com/users/rodrigok/following{/other_user}","gists_url":"https://api.github.com/users/rodrigok/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigok/subscriptions","organizations_url":"https://api.github.com/users/rodrigok/orgs","repos_url":"https://api.github.com/users/rodrigok/repos","events_url":"https://api.github.com/users/rodrigok/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigok/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones/25","html_url":"https://github.com/RocketChat/Rocket.Chat/milestones/0.26.0","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones/25/labels","id":1671646,"number":25,"title":"0.26.0","description":"","creator":{"login":"engelgabriel","id":1000217,"avatar_url":"https://avatars.githubusercontent.com/u/1000217?v=3","gravatar_id":"","url":"https://api.github.com/users/engelgabriel","html_url":"https://github.com/engelgabriel","followers_url":"https://api.github.com/users/engelgabriel/followers","following_url":"https://api.github.com/users/engelgabriel/following{/other_user}","gists_url":"https://api.github.com/users/engelgabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/engelgabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/engelgabriel/subscriptions","organizations_url":"https://api.github.com/users/engelgabriel/orgs","repos_url":"https://api.github.com/users/engelgabriel/repos","events_url":"https://api.github.com/users/engelgabriel/events{/privacy}","received_events_url":"https://api.github.com/users/engelgabriel/received_events","type":"User","site_admin":false},"open_issues":48,"closed_issues":8,"state":"open","created_at":"2016-03-29T11:46:34Z","updated_at":"2016-04-06T04:12:21Z","due_on":"2016-04-11T03:00:00Z","closed_at":null},"comments":5,"created_at":"2016-04-04T23:15:32Z","updated_at":"2016-04-06T09:05:12Z","closed_at":"2016-04-06T01:21:22Z","pull_request":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/2763","html_url":"https://github.com/RocketChat/Rocket.Chat/pull/2763","diff_url":"https://github.com/RocketChat/Rocket.Chat/pull/2763.diff","patch_url":"https://github.com/RocketChat/Rocket.Chat/pull/2763.patch"},"body":"@RocketChat/core \r\nEmbedded media like images and video can now individually be collapsed\r\n\r\nA new preference \"Collapse media by default\" is also added, the default\r\nis to not collapse media.\r\n\r\nSince images are not always shown, \"showImage\" is also renamed to\r\n\"loadImage\"\r\n\r\nKnown limitation: if the same url is used multiple times in the same message, collapse only works for the first one. This is a deficiency in mongodb that already affects the \"save bandwidth\" feature, so I think it's not a big deal (who posts the same url twice in the same message anyway?)\r\n\r\nCloses #1187"},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/206239532","html_url":"https://github.com/RocketChat/Rocket.Chat/pull/2763#issuecomment-206239532","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/2763","id":206239532,"user":{"login":"brakhane","id":541637,"avatar_url":"https://avatars.githubusercontent.com/u/541637?v=3","gravatar_id":"","url":"https://api.github.com/users/brakhane","html_url":"https://github.com/brakhane","followers_url":"https://api.github.com/users/brakhane/followers","following_url":"https://api.github.com/users/brakhane/following{/other_user}","gists_url":"https://api.github.com/users/brakhane/gists{/gist_id}","starred_url":"https://api.github.com/users/brakhane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brakhane/subscriptions","organizations_url":"https://api.github.com/users/brakhane/orgs","repos_url":"https://api.github.com/users/brakhane/repos","events_url":"https://api.github.com/users/brakhane/events{/privacy}","received_events_url":"https://api.github.com/users/brakhane/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T09:05:12Z","updated_at":"2016-04-06T09:05:12Z","body":"@rodrigok Thanks, i was going to fix it this evening, but I'm glad I don't have to."}}