mastodon icon indicating copy to clipboard operation
mastodon copied to clipboard

Chuckya ignores iceshrimp.net reacts

Open zenfyrdev opened this issue 7 months ago • 6 comments

Steps to reproduce the problem

  1. React to a chuckya post from iceshrimp.
  2. Reaction job succeeds, but is ignored on chuckya

Expected behaviour

the reaction is supposed to appear on the chuckya instance

Actual behaviour

the reaction is dropped

Detailed description

The reaction job succeeds for every server not running gts. this happens with my shrimp.melontini.me and ruben's beeping.synth.download.

the post reacted to https://wetdry.world/@six/114442423543104041

Job Data

{
  "inboxUrl": "https://wetdry.world/inbox",
  "contentType": "application/activity\u002Bjson",
  "userId": "a724sknj5y9ydk0w",
  "recipientHost": "wetdry.world"
}
Job Payload

{
  "content": ":thenpcsinhitmanwhenyouthrowabrickacrosstheroomtodistracthem:",
  "tag": [
    {
      "icon": {
        "url": "https://shrimp.s3.melontini.me/public-a8cf4668-dac1-4cf1-9093-100d0be057d9.webp",
        "mediaType": "image/webp",
        "type": "Image"
      },
      "name": ":thenpcsinhitmanwhenyouthrowabrickacrosstheroomtodistracthem:",
      "type": "Emoji",
      "id": "https://shrimp.melontini.me/emoji/thenpcsinhitmanwhenyouthrowabrickacrosstheroomtodistracthem"
    }
  ],
  "actor": "https://shrimp.melontini.me/users/a724sknj5y9ydk0w",
  "object": "https://wetdry.world/users/six/statuses/114442423543104041",
  "id": "https://shrimp.melontini.me/reactions/a7bg3yvre59hh3m7",
  "type": "EmojiReact",
  "signature": {
    "type": "RsaSignature2017",
    "signatureValue": "N1GUXt2HGQL1Z5NOyKhrfGbZUhk/Du/frff6uektZZrc0O3/K0su6QTK0uqR47kScWuX507lo750n8Rrq\u002BSbCC8JX4/EwT4WbMIkk3AqhtiliGcQ9vZ\u002B64CaOUMCj9cIoO/W/2ew/pXpK6UtrTuhclgzbtFLuKAoArfsski4jtWguWyd7cRQpSlrwQfE2vR/IHrt/CfqcM6\u002BjFKRgTfertiFnvi4EI3iDC7gnOWcZlOa8dqChjpJQBfEIBTCcHmuj2JuH8Jtbtg7pdXAwvifwJdnhb7Jdyrdf193aygbmd6ksIha4eb\u002BRUMDHYsMMuPsNyAv7esAhsmzodrXtYBiPLOqKDRsSZb9qC6ljeJ4A4u8hOYRy1gpmCy\u002BWsi/\u002BJnuXFsC08k\u002B\u002B2/ncCGe/XB/TUtvA\u002BwuVTDwxOq1PEENRox/Fd6Tw8NzKz4/SNgDgemqs9qA6EpKd7VxOPsuEHTZqo5Mgv4VvfZOqhj3ZkS5xmA3Y8P2lA2i\u002BtT5HtgDXMtfm91UhIcfX0XukN3y\u002BKQmsjMFsGDUDA8PS\u002Bqs40h9yoHTU7qttBkhB\u002ByWC5dFocPkdwI1OGMBUg4uzE7FgcYEujevSVuHd0kkz1B/WQiG98R/GFxarwOFrm2hPy2HoMWVWvyTrwJ36lj29SLruTzsc/g9fb7/YE5aMa0FqNby9x8=",
    "creator": "https://shrimp.melontini.me/users/a724sknj5y9ydk0w#main-key",
    "nonce": "789392a5a8a57be3",
    "created": "2025-05-03T07:08:24.458Z"
  },
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "toot": "http://joinmastodon.org/ns#",
      "misskey": "https://misskey-hub.net/ns#",
      "Emoji": "toot:Emoji",
      "EmojiReact": "http://litepub.social/ns#EmojiReact"
    }
  ]
}

Mastodon instance

wetdry.world

Mastodon version

v4.4.0-alpha.4+chuckya

Technical details

IS.NET version: v2025.1-beta5.patch2.security2+1ce0dc1834

zenfyrdev avatar May 03 '25 07:05 zenfyrdev

Does it happen with this single emoji, or with all emojis (custom or unicode)? The job payload looks fine from what I can tell, but the emoji used here doesn't seem to be present in our dashboard, which indicates that something went wrong either during or before it attempted to copy the emoji.

Additionally, sidekiq doesn't seem to be showing any errors related to this...

TheEssem avatar May 03 '25 17:05 TheEssem

this happens with all reacts unicode + custom.

❤️ react on this post: https://wetdry.world/@spookwav/114450206607623061

payload

{
  "content": "\u2764\uFE0F",
  "actor": "https://shrimp.melontini.me/users/a724sknj5y9ydk0w",
  "object": "https://wetdry.world/users/spookwav/statuses/114450206607623061",
  "id": "https://shrimp.melontini.me/reactions/a7dcz3t4gatsjd63",
  "type": "EmojiReact",
  "signature": {
    "type": "RsaSignature2017",
    "signatureValue": "M9hQlp6mqsqby3WeWQExej4q8alhxolvHETOkHTghe2ctVODFdEx\u002BlZgTlyN9RUootR9urG9Bip8Fndm4Ansy/BGloi5Q00FHqAFygJwMht9DZHANdT4sgju07XVPj/wTqOfPhk1HB6atdnKPXIoQMeZPpKDBPkbMpCMZ213ouwzj2h\u002B5mIUpqyrB9C8T6G5kNK9/nT3/gM3FzsK641n16897r4WS403xnu7D/pxTdAi0FpSWChuv9LUEB3onLGs3cRGgth7GRHOdfESIkp\u002Bz72gFi3Y\u002BKuj53cLLFGb0kCwIbn/0hzwR0780Y5MTqxGDwae4ACqEg5djwZ5x3OgDF8aTEAvFhfunkiXF11\u002BxZ5dtxu4mUJeSSmUMcPECSKYqg/wJRNWD\u002BPDYcTFK/\u002By8TCi0JZha0WKJBLQFoi17GQA08\u002BTA81DnsgF0C9/9GFl9AUrjAUdv14JFdjxhk5jHJ9I6tZAssahsuiszds4ErAbOVbfPPx4TZJcbY\u002BvpECzfZLjckDhHSJlp9ktesmzOZzCWBJHy/8vHnq2A\u002BZG5aI\u002Bn7b/5l5cBrUf/yPaL/Qj6pdEaoSEMdcyB//IkYhVnaCwi9311I5VY2BvTrujXTG6M3jjnBbkLojjgzovreT/1KrK4XtyrklHtLPiifl93uxZcbAbP04npJrwf0fn58c=",
    "creator": "https://shrimp.melontini.me/users/a724sknj5y9ydk0w#main-key",
    "nonce": "3c899504e618adb7",
    "created": "2025-05-04T15:16:11.052Z"
  },
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "toot": "http://joinmastodon.org/ns#",
      "misskey": "https://misskey-hub.net/ns#",
      "EmojiReact": "http://litepub.social/ns#EmojiReact"
    }
  ]
}

zenfyrdev avatar May 04 '25 15:05 zenfyrdev

apologies, i recompiled shrimp with a correct libc target and can receive wdw reacts, but sending them to chuckya still doesn't work.

zenfyrdev avatar May 08 '25 13:05 zenfyrdev

Possibly related to #47?

TheEssem avatar May 18 '25 21:05 TheEssem

looks similar, but i'm not sure if this change will affect receiving remote unicode reacts?

zenfyrdev avatar May 18 '25 21:05 zenfyrdev

looks similar, but i'm not sure if this change will affect receiving remote unicode reacts?

It shouldn't, I don't think.

TheEssem avatar May 18 '25 21:05 TheEssem

everything seems to be working correctly now, both sending and receiving for both unicode and custom emotes,

zenfyrdev avatar May 21 '25 09:05 zenfyrdev