Skip to content

Custom msgtypes appear as "Unsupported event" #1539

Closed
@ghost

Description

Your use case

What would you like to do?

When I execute the /fireworks woo hoo! command fireworks are displayed on Element for PC.
However, on Element X the message cannot be read at all, instead it displays "Unsupported event".
The same happens with other message types that have additional visual effects, namely /snowfall, /confetti or /rainfall.

Why would you like to do it?

At least see the message contents

How would you like to achieve it?

Idk

Have you considered any alternatives?

You can hold down the message and click "View Source" and then read the message from JSON, but this is inconvenient.

Additional context

Normal text message:

{
  "type": "m.room.message"
  "content": {
    "msgtype": "m.text"
    "body": "test",
  },
  "room_id": "[REDACTED]",
}

Fireworks text message:

{
  "type": "m.room.message",
  "content": {
    "msgtype": "nic.custom.fireworks",
    "body": "woo hoo!",
    "m.mentions": {}
  }
}

Are you willing to provide a PR?

No

Metadata

Metadata

Assignees

Labels

A-TimelineO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-EnhancementNew features, changes in functionality, performance boosts, user-facing improvementsX-Needs-RustThis issue needs a Rust SDK change. It must have a link to a Rust SDK issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions