-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Let Identify/Login run before joining channels on reconnect... #274
Comments
Hello.
I thinks Srain already act like this now. Are you login by typing |
on reconnect is the issue here. I do not use the command explicitly because under the advanced tab of the main client, you can choose for the client to login for me. However, it tries to join channels before authenticating if the program is reconnecting. Reconnection happens due to network loss or system resume from suspend. |
Sorry for responsing so late. I think i know where the problem is. Have you check the "remember password" togglebutton when you login? |
Right, I do have Again, this issue happens on reconnect specifically. IRC flow should be:
srain flow is instead:
|
Had I not explained the issue well enough? Normal IRC clients will login before joining channels, srain does not. Therefore, the channel joins fail (because they require +r) |
Hi AlbinoGeek, you have explianed it well.
Srain has chat log, see: https://doc.srain.im/en/latest/misc.html#chat-logs
Srain's flow is almost same as other IRC client. but srain doesn't save you password in memory, it only query password from dbus secret service, you doesn't toggle "remember password", so srain get nothing, so you are no login when you reconnected. We can treat it as a bug, but how to fix it is debatable. |
I'm sure I've explained this poorly.
srain currently **does** reconnect and even login again, it does not forget my password, it even tries to rejoin all my channels -- the problem is that it does these things in the wrong order.
It needs to: login before joining channels.
Right now it: joins channels before logging in.
|
Currently, when you resume your computer from standby, the following message will show up in every channel:
Why? Because srain is rejoining channels before logging in. And yes, it does in fact login, but only after NickServ asks it to. (e.g: it doesn't even attempt to pre-empt NickServ, even though it would know full well it was logged in before my computer was suspended... The server log on a reconnect is as follows:
|
SASL auth is always run before rejoin, but NickServ auth doesn't, I wil fix this recently. |
As it is now, channel rejoin happens immediately upon reconnect (from system resume, etc.) -- which means that joining channels with a +r literally doesn't work, as you are redirected to some other channel, and as a result, the chat log is cleared. Couple this with the fact the client has no real chat log, and you have a destructive experience.
It defeats the entire purpose of having the client save my NickServ / IDENT password.
The text was updated successfully, but these errors were encountered: