Created
April 13, 2017 02:30
-
-
Save DanielOaks/90b5c06c5d1336b2c3d65a9646446302 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
personal note: so right now when someone reconnects everyone sees them join with a new nickname, then after ~30-180 seconds the old nickname dies and they change their nick to match the one that just disconnected. maybe on connection you can see a cap called 'resume-connection' or similar, send a command like RESUME before authing with SASL and instead of connecting with that other nickname you essentially 'take over' that old connection, are automatically sent channel JOINs to the channels you're in on registration. basically it NS GHOST's the old connection, in channels everyone sees like a 'RESUME' verb and chghost if they've requested the resume-connection cap, and else just see a normal quit+join (with a specified quit message). if we want to be able to display how long someone's been disconnected for we could do something like sending a timestamp with the RESUME command, then the RECONNECT will have that same timestamp and clients will be able to say "disconnected for X seconds" or similar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment