mautrix / discord

A Matrix-Discord puppeting bridge

Home Page:https://go.mau.fi/mautrix-discord

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Links of bridged messages from other bots render incorrectly in matrix

Zwelf opened this issue · comments

commented

markdown link from bots look wrong on matrix side.

discord
matrix

{
  "m.new_content": {
      "body": "New map [Vigorous](https://ddnet.org/maps/?map=Vigorous) by [Wartoz](https://ddnet.org/mappers/Wartoz/) & [shengyan](https://ddnet.org/mappers/shengyan/) released on [Moderate](https://ddnet.org/ranks/moderate/).",
      "format": "org.matrix.custom.html",
      "formatted_body": "New map [Vigorous](<a href=\"https://ddnet.org/maps/?map=Vigorous\">https://ddnet.org/maps/?map=Vigorous</a>) by [Wartoz](<a href=\"https://ddnet.org/mappers/Wartoz/\">https://ddnet.org/mappers/Wartoz/</a>) &amp; [shengyan](<a href=\"https://ddnet.org/mappers/shengyan/\">https://ddnet.org/mappers/shengyan/</a>) released on [Moderate](<a href=\"https://ddnet.org/ranks/moderate/\">https://ddnet.org/ranks/moderate/</a>).",
      "msgtype": "m.text"
      "..."
    },
  },

Seems to work fine for me so I'm assuming that's an older version of the bridge

commented

So probably fixed in 345391f, because I'm running mautrix-discord 0.6.1+dev.fb6d89a8 (Aug 16 2023, 22:01:30 with go1.21.0) (fb6d89a). Thanks. I'll update my bridge.

commented

I can confirm, that with the new version this got fixed.