{"action":"created","issue":{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/3679","repository_url":"https://api.github.com/repos/telegramdesktop/tdesktop","labels_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/3679/labels{/name}","comments_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/3679/comments","events_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/3679/events","html_url":"https://github.com/telegramdesktop/tdesktop/issues/3679","id":244176638,"number":3679,"title":"When building a preview for a webpage with multiple images, use the first image instead of the last","user":{"login":"BoffinbraiN","id":13255058,"avatar_url":"https://avatars2.githubusercontent.com/u/13255058?v=4","gravatar_id":"","url":"https://api.github.com/users/BoffinbraiN","html_url":"https://github.com/BoffinbraiN","followers_url":"https://api.github.com/users/BoffinbraiN/followers","following_url":"https://api.github.com/users/BoffinbraiN/following{/other_user}","gists_url":"https://api.github.com/users/BoffinbraiN/gists{/gist_id}","starred_url":"https://api.github.com/users/BoffinbraiN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoffinbraiN/subscriptions","organizations_url":"https://api.github.com/users/BoffinbraiN/orgs","repos_url":"https://api.github.com/users/BoffinbraiN/repos","events_url":"https://api.github.com/users/BoffinbraiN/events{/privacy}","received_events_url":"https://api.github.com/users/BoffinbraiN/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-19T21:16:05Z","updated_at":"2017-07-21T00:09:57Z","closed_at":"2017-07-20T05:07:24Z","body":"### Steps to reproduce\r\n1. Find any Imgur gallery or Twitter tweet containing 2 or more pictures.\r\n2. Copy a link to the gallery or tweet into Telegram and send it.\r\n\r\n### Expected behaviour\r\nThe link preview should contain the first image.\r\n\r\n### Actual behaviour\r\nTelegram always uses the last image instead.\r\n\r\n### Configuration\r\n**Operating system:** Windows 7\r\n\r\n**Version of Telegram Desktop:** 1.1.10\r\n\r\n**Used theme**: N/A\r\n\r\nTelegram's behaviour of picking the last image in a collection is at best confusing, and at worst it can even be a spoiler if linking to a comic.\r\n\r\nBonus points if the client can show info about additional images in the preview, such as showing the first image and then a \"+2\" beside it if there are two more images. That way, people will know that there is more to see, and decide whether to open the link.\r\n\r\nNote that this appears to happen in all Telegram clients, including Android and Web. I don't know if previews are built on the server or client side, so this bug may need to be forwarded to another project if it's a server-side feature."},"comment":{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/comments/316865118","html_url":"https://github.com/telegramdesktop/tdesktop/issues/3679#issuecomment-316865118","issue_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/3679","id":316865118,"user":{"login":"BoffinbraiN","id":13255058,"avatar_url":"https://avatars2.githubusercontent.com/u/13255058?v=4","gravatar_id":"","url":"https://api.github.com/users/BoffinbraiN","html_url":"https://github.com/BoffinbraiN","followers_url":"https://api.github.com/users/BoffinbraiN/followers","following_url":"https://api.github.com/users/BoffinbraiN/following{/other_user}","gists_url":"https://api.github.com/users/BoffinbraiN/gists{/gist_id}","starred_url":"https://api.github.com/users/BoffinbraiN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoffinbraiN/subscriptions","organizations_url":"https://api.github.com/users/BoffinbraiN/orgs","repos_url":"https://api.github.com/users/BoffinbraiN/repos","events_url":"https://api.github.com/users/BoffinbraiN/events{/privacy}","received_events_url":"https://api.github.com/users/BoffinbraiN/received_events","type":"User","site_admin":false},"created_at":"2017-07-21T00:09:57Z","updated_at":"2017-07-21T00:09:57Z","body":"@john-preston OK, thanks. If a new ticket is made in core Telegram, can you link me to it please?"}}
{"actor":{"display_login":"BoffinbraiN"}}