hifi / heisenbridge

a bouncer-style Matrix IRC bridge
MIT License
241 stars 32 forks source link

User namespace regex must be an exact prefix like '@irc_.*' that includes the separator character (_ or /). #248

Closed Ulrar closed 1 year ago

Ulrar commented 1 year ago

Hi,

Updated to the latest docker image this morning and the bridge won't start anymore :

User namespace regex must be an exact prefix like '@irc_.*' that includes the separator character (_ or /).

My config hasn't changed :

id: heisenbridge
url: http://...
as_token: ...
hs_token: ...
rate_limited: false
sender_localpart: heisenbridge
namespaces:
  users:
  - regex: '@irc_.*'
    exclusive: true
  aliases: []
  rooms: []

I've rolled back to 1.14.0 for now which is working fine. Thanks

hifi commented 1 year ago

Sorry, I pushed a bad change to the regex validator. Fixed again in master/latest.

Though it's recommended to use a tagged release as latest literally follows master instead of the latest release.