Skip to main content

Module auto_rejoin

Module auto_rejoin 

Source
Expand description

Conservative presence monitor for opt-in auto-rejoin and drop notifications.

Structsยง

Entry ๐Ÿ”’
Presence history for one account between checks.

Constantsยง

LAUNCH_POLL_INTERVAL ๐Ÿ”’
Time between presence checks while an account is in its launch window.
LAUNCH_WINDOW ๐Ÿ”’
How long after a join or rejoin presence is checked more often.
POLL_INTERVAL ๐Ÿ”’
Time between presence checks.
REJOIN_GRACE ๐Ÿ”’
A drop within this time of an automatic rejoin pauses auto-rejoin for the account.

Functionsยง

launched_recently ๐Ÿ”’
Reports whether an account was joined within the launch window, when drops are most likely.
run
Polls presence for drop notifications and auto-rejoin until the app exits.