{"action":"created","issue":{"url":"https://api.github.com/repos/Gargron/xmpp-web/issues/3","labels_url":"https://api.github.com/repos/Gargron/xmpp-web/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Gargron/xmpp-web/issues/3/comments","events_url":"https://api.github.com/repos/Gargron/xmpp-web/issues/3/events","html_url":"https://github.com/Gargron/xmpp-web/issues/3","id":106108695,"number":3,"title":"Stickers XEP - Working out the details","user":{"login":"Gargron","id":184731,"avatar_url":"https://avatars.githubusercontent.com/u/184731?v=3","gravatar_id":"","url":"https://api.github.com/users/Gargron","html_url":"https://github.com/Gargron","followers_url":"https://api.github.com/users/Gargron/followers","following_url":"https://api.github.com/users/Gargron/following{/other_user}","gists_url":"https://api.github.com/users/Gargron/gists{/gist_id}","starred_url":"https://api.github.com/users/Gargron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gargron/subscriptions","organizations_url":"https://api.github.com/users/Gargron/orgs","repos_url":"https://api.github.com/users/Gargron/repos","events_url":"https://api.github.com/users/Gargron/events{/privacy}","received_events_url":"https://api.github.com/users/Gargron/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Gargron/xmpp-web/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-11T22:51:43Z","updated_at":"2015-09-17T11:37:56Z","closed_at":null,"body":"So, I would like to discuss the realities and intricansies of implementing stickers in XMPP. I've come up with a very simplicistic draft that assumes there's a central authority that hosts stickers and controls their availability and namespaces.\r\n\r\nIn a nutshell:\r\n\r\n```xml\r\n<message\r\n    from=\"alice@example.com\"\r\n    to=\"bob@example.com\"\r\n    type=\"chat\">\r\n  <sticker xmlns=\"http://jabber.zeonfederated.com/protocol/stickers\"\r\n      uid=\"pusheen.halloween.pumpkin\" />\r\n</message>\r\n```\r\nWould be a sticker-message wherein the UID means the organization/artist \"pusheen\", sticker pack \"halloween\" and sticker identified by \"pumpkin\", and would get translated by the receiving client into a HTTP asset URL. (The reason I decided not to send URLs in the first place is to prevent displaying random received URLs that could be malicious and also allowing to change the hosting place of the stickers without breaking history)\r\n\r\nIs this viable? Is this okay? Could other clients potentially adopt support for this?\r\n\r\nAnother question is of course who gets to manage and host the inventory of stickers.\r\n\r\nIf you're asking yourself - who needs stickers? For enterprise usage, I suppose nobody; although my chats with my boss often involve an exchange of cute stickers that makes the whole thing quite fun. It's no secret though that a lot of normal, not technically-arcane people are attracted to cute stickers. They are essentially the sole reason the messaging app LINE took off at all.\r\n\r\nFeedback and discussion welcome."},"comment":{"url":"https://api.github.com/repos/Gargron/xmpp-web/issues/comments/141050572","html_url":"https://github.com/Gargron/xmpp-web/issues/3#issuecomment-141050572","issue_url":"https://api.github.com/repos/Gargron/xmpp-web/issues/3","id":141050572,"user":{"login":"Gargron","id":184731,"avatar_url":"https://avatars.githubusercontent.com/u/184731?v=3","gravatar_id":"","url":"https://api.github.com/users/Gargron","html_url":"https://github.com/Gargron","followers_url":"https://api.github.com/users/Gargron/followers","following_url":"https://api.github.com/users/Gargron/following{/other_user}","gists_url":"https://api.github.com/users/Gargron/gists{/gist_id}","starred_url":"https://api.github.com/users/Gargron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gargron/subscriptions","organizations_url":"https://api.github.com/users/Gargron/orgs","repos_url":"https://api.github.com/users/Gargron/repos","events_url":"https://api.github.com/users/Gargron/events{/privacy}","received_events_url":"https://api.github.com/users/Gargron/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T11:37:56Z","updated_at":"2015-09-17T11:37:56Z","body":"@iNPUTmice Sorry for tagging you in, but with these amendments, is there a chance that Conversations will support this? I understand that a sticker picker UI is probably too much trouble to implement but adding a message type that just displays an image without a bounding box, and a bit of code that parses `<sticker>` tags into image URLs shouldn't be too much trouble. I could try doing it myself, even, I just want to know if it has a chance of getting accepted!"}}