Skip to content

Formatting doesn't go through from Matrix to Google chat (Megabridge) #110

@zouppen

Description

@zouppen

Branch megabridge, commit c589550.

When sending a message from Matrix to Google Chat, formattings are not passed but the message is passed plain-text. Other way around (from Google Chat to Matrix, it works. See attached picture.

Matrix:
Image

Google Chat:
Image

Raw message:

{
  "type": "m.room.message",
  "sender": "REDACTED",
  "content": {
    "msgtype": "m.text",
    "body": "Tarkoitus olisi:\n* saada kaikki toimimaan\n* lähteä kotiin",
    "format": "org.matrix.custom.html",
    "formatted_body": "<p>Tarkoitus olisi:</p>\n<ul>\n<li>saada kaikki toimimaan</li>\n<li>lähteä kotiin</li>\n</ul>\n",
    "m.mentions": {}
  },
  "origin_server_ts": 1764842883712,
  "unsigned": {
    "membership": "join",
    "age": 97,
    "transaction_id": "REDACTED"
  },
  "event_id": "REDACTED",
  "room_id": "REDACTED"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions