Skip to content

bug: 🐛 Matrix reactions with skin tone modifiers do not map to LINE emojis #176

@clins1994

Description

@clins1994

This was generated by AI during triage.

Bug Report: Matrix reactions with skin tone modifiers do not map to LINE emojis

Describe the bug

Matrix reactions that include a Unicode skin tone modifier are rejected as unsupported even when the base emoji has an existing LINE emoji mapping. For example, 👍 maps to a LINE reaction, but 👍🏻, 👍🏼, 👍🏽, 👍🏾, and 👍🏿 do not.

To Reproduce

Steps to reproduce the behavior:

  1. Bridge a LINE chat to Matrix.
  2. React to a bridged LINE message from Matrix with 👍.
  3. React to a bridged LINE message from Matrix with a skin tone variant such as 👍🏽.
  4. Compare the outbound reaction handling.

Expected behavior

Skin tone variants should resolve to the same LINE reaction as their base emoji when the base emoji is already supported.

Screenshots or logs

N/A

Additional context

The outbound reaction mapping already normalizes variation selectors before looking up lineEmojiReactionURLs. It should also ignore Unicode skin tone modifiers for the purpose of LINE reaction lookup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions