Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom emoji and sticker packs in matrix #1256

Open
turt2live opened this Issue May 23, 2018 · 3 comments

Comments

Projects
None yet
5 participants
@turt2live
Copy link
Member

commented May 23, 2018

@turt2live

This comment has been minimized.

Copy link
Member Author

commented Jan 4, 2019

keywords: emotes discord telegram

@turt2live

This comment has been minimized.

Copy link
Member Author

commented Mar 21, 2019

Note to self: Incorporate room-backed sticker packs.

Example: https://stickers.t2bot.io/pack/@travis:t2l.io/aLYBMlgmYx-Dimension-Huskies.json

The JSON has a subscription field which describes where to go looking for the sticker pack. The expectation is that a bot/client joins that room and tracks changes that way. The same event structure could be used for per-room stickerpacks.

Stickerpack event (currently):

{
  "origin_server_ts": 1552967388789,
  "content": {
    "activeStickers": [
      "rfoyk5HnqOFlfMTQEGQR7MDzwKCx119ZbOrI1DQ8WcJ0TXe55tbEsaXoCrhmugZw",
      "xiMt5MRukoujENP5FT5aG7Raugx4WMTkYuRlkqbTlkcE6jvuuXbc4VxA2KNhNra2",
      "wifgSXGxPhgJBM5qmsetq8AHVDxmR7OTtJYntQj4ceN8saCCxDkbFrtnRE27Sps3",
      "4Yhro2CCkix6UpvZNvRCHuNZvmmV4nUVKggaSRs8JIfwH3k8fopQRQh8LwSsBQ6c",
      "hUsAHIBx4wm7UtBvyUDMjuNUh2sDPYWhyDCdB7riwq9pFlTOrriNQdDMzeR4Q7fl",
      "6kukU22KDeua0MMd4TqHmwjci9nACF3Oj3kfB6OPGcVlOWBJ6Y9tyZwwpZoUP1Cf"
    ],
    "creatorId": "@travis:t2l.io"
  },
  "sender": "@stickers:t2bot.io",
  "state_key": "",
  "type": "io.t2bot.stickers.metadata",
  "unsigned": {
    "age": 1011620
  },
  "event_id": "$/ZNthi7BPMa59TlQSB7fr5NkUpp+tIdnfPgi/5cxKWI",
  "room_id": "!aXWPPhGWkSUjCjYcdu:t2bot.io"
}

Sticker event (currently):

{
  "origin_server_ts": 1552967389138,
  "content": {
    "description": "Sleeping",
    "packId": "aLYBMlgmYx-Dimension-Huskies",
    "id": "hUsAHIBx4wm7UtBvyUDMjuNUh2sDPYWhyDCdB7riwq9pFlTOrriNQdDMzeR4Q7fl",
    "contentUri": "mxc://t2bot.io/c7c89ac2f8edba4ca9fbe50a547c3d0c"
  },
  "sender": "@stickers:t2bot.io",
  "state_key": "hUsAHIBx4wm7UtBvyUDMjuNUh2sDPYWhyDCdB7riwq9pFlTOrriNQdDMzeR4Q7fl",
  "type": "io.t2bot.stickers.sticker",
  "unsigned": {
    "age": 1011271
  },
  "event_id": "$fYJnOthP7FzRZP7CdR+FzNqUaf68Dz5+Ron7VAHwS3A",
  "room_id": "!aXWPPhGWkSUjCjYcdu:t2bot.io"
}
@turt2live

This comment has been minimized.

Copy link
Member Author

commented Apr 4, 2019

This is now obsoleted by MSC1951 - custom emoji and sticker packs as rooms. This proposal had a few deficiencies which should be resolved by MSC1951, namely the inability for applications to subscribe to updates on packs.

CC all 39 people who +1'd this ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.