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

fix(#145, #111): force set instance to true when sending activity #150

Merged
merged 1 commit into from
Nov 27, 2022

Conversation

nick22985
Copy link
Collaborator

@nick22985 nick22985 commented Nov 27, 2022

The issue was that when it failed rpc set the instance to false. Force setting instance to true when activity is sent means that it should never be in a state where it wont work. After reconnecting from a connection timeout error or other from Discord rpc the plugin should still be able to reconnect and work

Closes #145 & #111

@nick22985
Copy link
Collaborator Author

If this doesnt work I am crying

@nick22985
Copy link
Collaborator Author

nick22985 commented Nov 27, 2022

Also set untilted to an allowed schema now that we fixed the ssh leaking. (this is the state that vscode responds with when in a new file)

Copy link
Owner

@leonardssh leonardssh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@xhayper
Copy link
Collaborator

xhayper commented Nov 27, 2022

Till this day, i have no idea what instance field does, what does it do?

Copy link
Collaborator

@xhayper xhayper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@nick22985
Copy link
Collaborator Author

nick22985 commented Nov 27, 2022

Tbh I have no idea what it actually does. When bugging out the client to reproduce it. It showed up in debug. Setting it to true makes it reconnect so it works lol

My best guess is saying it is attached to a discord instance

@xhayper
Copy link
Collaborator

xhayper commented Nov 27, 2022

I see, i am just curious, so nw about not knowing it LOL!

@xhayper xhayper merged commit 7b82f44 into leonardssh:main Nov 27, 2022
@nick22985 nick22985 deleted the force-set-instance branch November 27, 2022 10:57
@xhayper xhayper added the enhancement New feature or request label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Couldn't connect to Discord via RPC:
3 participants