poljar / weechat-matrix

Weechat Matrix protocol script written in python
Other
957 stars 119 forks source link

Support Heisenbridge short names #267

Closed hifi closed 3 years ago

hifi commented 3 years ago

Adds support for Heisenbridge IRC bridge short names for any network.

I know it's a niche bridge but I'm also slightly annoyed I need to manually patch this in all the time :sweat_smile:

The full ID format is @irc_network_nick and for increased accuracy we could test it against a regex to prevent accidental naming issues but I'm not sure if it's worth the effort.

In the Rust version it would probably be more correct to have configuration settings so you can set this per homeserver where you know what prefix is reserved for which bridge and have defaults in that match what matrix.org is known to be running.

poljar commented 3 years ago

Thanks, merged. The Rust version uses display names properly.