discord icon indicating copy to clipboard operation
discord copied to clipboard

Configurable username format for webhook relays

Open austinhuang0131 opened this issue 1 year ago • 2 comments

Originally posted at https://geekdom.social/@bigolifacks/112859769835968061 (not me); the concerning code is

https://github.com/mautrix/discord/blob/035f2a408b4a6cf73acbf168dff5d16198930ee2/portal.go#L1436-L1441

so eg. allows the bridge to always include MXID in the webhook display name.

austinhuang0131 avatar Jul 29 '24 04:07 austinhuang0131

Making it configurable doesn't really solve anything. I'll probably include proper disambiguation in megabridge, but I couldn't find any Go libraries for UTS #39 confusable detection, so will need to write one first

tulir avatar Aug 02 '24 16:08 tulir

@tulir Making it configurable solves the problem of people not knowing where the webhook is bridging from (enables appending something like | from CC Chat. I think having it would be a good feature even without the megabridge disambig.

Raymo111 avatar Dec 02 '24 06:12 Raymo111