Open timschumi opened 2 years ago
The issue is caused by this piece of code in the getChannelName
that replaces the channel mention with its ID, but doesn't care that the other side will not replace it with a mention on their side.
EDIT: I just realized that this function is also used internally to relay messages apparently.
Describe the bug When bridging a Discord channel somewhere else (e.g. IRC) and mentioning a channel that is bridged by that matterbridge instance, the channel mention looks like
#ID:12314523534545
on the other side instead of#channelname
.To Reproduce Steps to reproduce the behavior:
Expected behavior The mention should look like
#channelname
on the IRC side.Screenshots/debug logs![Bildschirmfoto_2022-08-26_22-22-22](https://user-images.githubusercontent.com/16820960/186985018-b0e662f0-0eae-44af-b2dc-cf6a272e0082.png)
Environment (please complete the following information):
Additional context