You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve handling of disconnects and reconnects (discord#228)
* Check response 0 on disconnect
From recv(): The return value will be 0 when the peer has performed an orderly shutdown
* Add persistent presence and handlers
* Use buffer instead of raw struct
* Clear presence data on shutdown
* Remove CurrentPresence and add boolean instead
This removes the need for having 2 big buffers in favor of using a small boolean
0 commit comments