matrix-org / matrix-appservice-irc

Node.js IRC bridge for Matrix
Apache License 2.0
464 stars 151 forks source link

different nickTemplate based on mxid #1044

Open f0x52 opened 4 years ago

f0x52 commented 4 years ago

I currently have my irc bridge's nickTemplate set to $LOCALPART, because imo that gives the best default for bridging matrix users. In combination with the mautrix-telegram appservice however, it results in unusable telegram_[id] users on the irc side.

For this case, I'd like to set the nickTemplate for every matrix user that matches @telegram_*:pixie.town to "$DISPLAYNAME", and keep using "$LOCALPART" for all others.

When I brought this up in the mautrix-telegram channel, someone else mentioned the same need, both for cooperation with a telegram bridge and to another platform

Half-Shot commented 4 years ago

Never thought of nick templates based upon mxid. I believe this would be possible to do.