matrix-hacks / matrix-puppet-slack

puppet style slack bridge for matrix
47 stars 17 forks source link

html links to users should not be in the plain text body of messages #70

Closed Cadair closed 5 years ago

Cadair commented 5 years ago

When converting a slack mention to markdown here which results in a pills in Riot for a user mention, the matrix.to link ends up in the plain text body of the message. The spec states:

The text component of the anchor should be used in the event's body where the mention would normally be represented, as shown in the example above.

The up shot of this is that if your nick and domain the bridge is running on are the same i.e. my nick is cadair and my domain is cadair.com synapse/riot triggers a notification for you whenever any user is mentioned.