matterbridge icon indicating copy to clipboard operation
matterbridge copied to clipboard

Discord -> IRC :: URLs are corrupted and metadata (unknowingly) spammed

Open opless opened this issue 3 years ago • 1 comments

Environment

Version: $ ./matterbridge-1.25.2-linux-64bit --version version: 1.25.2 20f841c5

Operating system: linux 64bit ubuntu

Please describe the expected behavior.

Please describe the actual behavior.

When sending a url from discord to irc, (specifically youtube urls) underscores are removed and additional metadata is presented.

Any steps to reproduce the behavior?

On the discord side of the bridge paste

https://www.youtube.com/watch?v=RW_zfVDdupM 

On the irc side, this happens

14:12 < oPless> https://www.youtube.com/watch?v=RWzfVDdupM embed: 9Front on the 
                Desktop; IRC, web, and video in plan9 terminals. - Some quality 
                of life programs for 9Front / Plan9 on the Desktop.
14:12 < oPless> This covers a persistent IRC client with logs.  Using Netsurf 
                for a bet web browsing experience.  And playing Youtube videos 
                using treason.
14:12 < oPless> And the audio from treason sounds better than what comes 
                through in this video.  The audio was playing out of speakers 
                and came in through m... - 
                https://www.youtube.com/watch?v=RWzfVDdupM

Please add your configuration file

[discord]

[discord.myserver]
Token="redacted"
Server="redacted"

RemoteNickFormat="{NICK}"

ShowEmbeds=true

ShowJoinPart=true
ShowTopicChange=true
SyncTopic=true

AutoWebhooks=true


[irc.oftc]
server="irc.oftc.net:6667"
Nick="oPless"
RemoteNickFormat=""
ShowJoinPart=true
VerboseJoinPart=true
StripMarkdown=true

[[gateway]]
name="oftc"
enable=true

[[gateway.inout]]
account="irc.oftc"
channel="#some-irc-channel"

[[gateway.inout]]
account="discord.myserver"
channel="ID:redacted"

opless avatar Oct 25 '22 13:10 opless

Same issue as #1234

hashworks avatar Nov 07 '25 18:11 hashworks