matrix-org / matrix-appservice-irc

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

RFE: sync room people list with nicks actually present in irc channel using command or periodically #1569

Open djasa opened 2 years ago

djasa commented 2 years ago

Is your feature request related to a problem? Please describe. This is related to nick changes which introduces hard problems for irc to anything else bridges. One of them is outdated 'people in room' list on matrix side compared to nicks actually present in IRC channel. In that case, I can highlight on matrix side user @nick__ instead of Name (IRC) to which is mapped just @user that renamed from the double-underscore nick to his nick an hour ago.

Describe the solution you'd like I suggest to introduce a command for IRC bridge that would synchronize people list in matrix room with nicks actually present in the IRC channel either ondemand (e.g. !syncnics or sth like that) or periodically (every 5 min?) or if possible after some nick changes are detected

Describe alternatives you've considered Not really

Additional context While not perfect and not really solving the IRC identity ⟷ matrix identity mapping problem, this would greatly reduce cases when matrix user is seemingly ignored because they try to highlight nick that is no longer present in IRC channel.

Half-Shot commented 2 years ago

I suggest to introduce a command for IRC bridge that would synchronize people list in matrix room with nicks actually present in the IRC channel either ondemand (e.g. !syncnics or sth like that) or periodically (every 5 min?) or if possible after some nick changes are detected

I see what you're saying, but really the IRC bridge shouldn't be de-syncing member lists. We should probably ensure they *never& get out of date.