whatsapp icon indicating copy to clipboard operation
whatsapp copied to clipboard

Stickers don't seem to get forwarded to WA

Open vaaski opened this issue 1 year ago • 2 comments

Hey, I've set up a Telegram <-> Matrix <-> WhatsApp bridge to avoid using WhatsApp. I can receive stickers from WA just fine, but the ones I send from Telegram just don't show up in WA at all. They appear in Matrix just fine.

I am pretty new to this whole Matrix stuff, so let me know if you need any more information.

Here is the source of the sticker as it arrives from TG in Matrix
{
  "type": "m.sticker",
  "sender": "@telegram_270144403:redacted.local",
  "content": {
    "body": "👍 (thumbs up sign)",
    "external_url": "https://t.me/c/1234567890/255",
    "url": "mxc://redacted.local/PrtqxXlABlYlSmjhXtBrEspV",
    "info": {
      "mimetype": "image/webp",
      "size": 26346,
      "thumbnail_info": {
        "mimetype": "image/webp",
        "size": 26346,
        "h": 256,
        "w": 256,
        "fi.mau.telegram.sticker": {
          "alt": "👍",
          "id": "1644927493175509158",
          "pack": {
            "id": "1644927493175508997",
            "access_hash": "-5785660578498188602"
          }
        }
      },
      "thumbnail_url": "mxc://redacted.local/PrtqxXlABlYlSmjhXtBrEspV",
      "h": 256,
      "w": 256,
      "fi.mau.telegram.sticker": {
        "alt": "👍",
        "id": "1644927493175509158",
        "pack": {
          "id": "1644927493175508997",
          "access_hash": "-5785660578498188602"
        }
      }
    },
    "fi.mau.telegram.source": {
      "space": 1234567890,
      "chat_id": 1234567890,
      "peer_type": "channel",
      "id": 255
    }
  },
  "origin_server_ts": 1728136030000,
  "unsigned": {
    "membership": "join",
    "age": 135
  },
  "event_id": "$5kgDZ3hpJl8JXIpExiKpwTixUQKFnVL_hCBn65O96uw",
  "room_id": "!hvEBpftVjjiksoGJWC:redacted.local"
}

vaaski avatar Oct 05 '24 13:10 vaaski

Having the same issue with stickers forwarded from the signal bridge...

mjtadema avatar Apr 10 '25 11:04 mjtadema

Issue appears to be animated webp, but I'm getting mixed signals on whether it's supposed to be supported or not. #549 claims it was fixed, but #764 claims it's infeasible.

2025-08-03T16:31:06.998Z ERR Failed to handle Matrix message error="failed to convert message: failed to convert media (to webp): failed to decode image: webp: invalid format" action="handle matrix event" event_id=$M6K7I3911gV9HIUfkGJRGxxmoU_Ta0-qx_KCjNzpz5Q event_loop_index=18 event_type=m.sticker

matejdro avatar Aug 03 '25 16:08 matejdro