{"action":"closed","issue":{"url":"https://api.github.com/repos/DrKLO/Telegram/issues/1286","labels_url":"https://api.github.com/repos/DrKLO/Telegram/issues/1286/labels{/name}","comments_url":"https://api.github.com/repos/DrKLO/Telegram/issues/1286/comments","events_url":"https://api.github.com/repos/DrKLO/Telegram/issues/1286/events","html_url":"https://github.com/DrKLO/Telegram/issues/1286","id":100078614,"number":1286,"title":"Request: Block certain Stickers","user":{"login":"DRSDavidSoft","id":4673812,"avatar_url":"https://avatars.githubusercontent.com/u/4673812?v=3","gravatar_id":"","url":"https://api.github.com/users/DRSDavidSoft","html_url":"https://github.com/DRSDavidSoft","followers_url":"https://api.github.com/users/DRSDavidSoft/followers","following_url":"https://api.github.com/users/DRSDavidSoft/following{/other_user}","gists_url":"https://api.github.com/users/DRSDavidSoft/gists{/gist_id}","starred_url":"https://api.github.com/users/DRSDavidSoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DRSDavidSoft/subscriptions","organizations_url":"https://api.github.com/users/DRSDavidSoft/orgs","repos_url":"https://api.github.com/users/DRSDavidSoft/repos","events_url":"https://api.github.com/users/DRSDavidSoft/events{/privacy}","received_events_url":"https://api.github.com/users/DRSDavidSoft/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-10T14:22:15Z","updated_at":"2015-08-12T07:36:44Z","closed_at":"2015-08-12T07:36:44Z","body":"Hi there, this is my proposal for a new feature in Telegram.\r\n\r\n*Blocking certain Stickers in Telegram*\r\n\r\n**Problem:**\r\nA user can send a disgusting or NSFW sticker over and over. In case blocking the user wouldn't be an option, we need to block the sticker.\r\n\r\n**Suggested Solution:**\r\nBy default, Telegram's stickers are divided to two types: Standalone .webp files and Sticker Packs.\r\nIf a .webp file is being sent over and over, the content would be the same, meaning their file hash would also be the same.\r\n\r\nThe idea is to keep a blacklist containing MD5 hashes of blocked stickers. Now each time a new sticker is received, Telegram should calculate and compare the sticker's hash within the blacklist. If the hash is matched, Telegram should ignore and delete the Sticker (thus not saving it to the Phone.)\r\n\r\nFor the Sticker Packs this could be applied too, however there should be an option to block a Pack of stickers *entirely*.\r\n\r\nNow a workaround to this is to modify the Sticker's content a bit to change the hash, but this would only happen if the user learns that the Stickers he/she is sending is blocked.\r\n\r\nI hope you find these hopeful.\r\nThanks for taking time."}}