Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

type property missing for m.reference relations #7941

Closed
@joepie91

Description

@joepie91

I received the following event from Synapse for a bridged Telegram message:

  {
    type: 'm.room.message',
    room_id: '!redacted:pixie.town',
    sender: '@telegram_redacted:pixie.town',
    content: {
      msgtype: 'm.text',
      body: 'redacted',
      external_url: 'https://t.me/c/redacted'
    },
    origin_server_ts: 1595536311000,
    unsigned: {
      age: 710692,
      'm.relations': {
        'm.reference': {
          chunk: [
            {
              event_id: '$redacted1'
            }
          ]
        }
      }
    },
    event_id: '$redacted2',
    user_id: '@telegram_redacted:pixie.town',
    age: 710692
  },

However, MSC 1849 says:

m.reference list the event_id and event type of the events which reference that event.

... which implies that the server is required to provide the type property for the m.reference relation, but it is currently missing.

(I realize that the MSC hasn't been finalized and merged yet, but I'm filing an issue anyway to make sure it doesn't get overlooked later.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-TolerableMinor significance, cosmetic issues, low or no impact to users.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Z-Help-WantedWe know exactly how to fix this issue, and would be grateful for any contributiongood first issueGood for newcomersz-p3(Deprecated Label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions