Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The stored nickname for a BridgedClient and the actual nickname for a session can get out of sync #1742

Open
Half-Shot opened this issue Jun 7, 2023 · 0 comments
Labels
S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems.

Comments

@Half-Shot
Copy link
Contributor

Which leads to the double posted messages for Matrix users.

The logs tend to look like:

2023-06-01 08:55:45 INFO:req [inpai5upicg00] [[I->M]] $localNick@irc.libera.chat#asemfpz2dck00~$mxid : Sending metadata 'Received an error on irc.libera.chat: err_cannotsendtochan
	
2023-06-01 07:47:55 INFO:BridgedClient <$localNick@irc.libera.chat#asemfpz2dck00> ($mxid) Trying to change nick from $localNick to $actualNick
2023-06-01 07:47:29 INFO:BridgedClient <$localNick@irc.libera.chat#asemfpz2dck00> ($mxid) Client is now CONNECTED
2023-06-01 07:47:29 INFO:BridgedClient <$localNick@irc.libera.chat#asemfpz2dck00> ($mxid) Connecting to IRC server irc.libera.chat as $localNick (user=daedricagu)
2023-06-01 07:47:29 INFO:BridgedClient <$localNick@irc.libera.chat#asemfpz2dck00> ($mxid) Created client for $mxid

Which then results in the user being permanently stuck as the wrong nick even though this has changed on the server. We probably need to listen for nick changes on the client and update accordingly.

@Half-Shot Half-Shot added T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems. S-Major Severely degrades major functionality or product features, with no satisfactory workaround labels Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems.
Projects
None yet
Development

No branches or pull requests

1 participant