-
Notifications
You must be signed in to change notification settings - Fork 9
EWS: Unsubscribe all notifications on logout #965 #976
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
base: master
Are you sure you want to change the base?
Conversation
|
Shouldn't you also close the connections from our side? |
|
Make a
|
I can look into doing that.
It was just an example of when you might want to disconnect. |
app/logic/Abstract/Account.ts
Outdated
| * and likely deletes all local information from this account. | ||
| * Does not delete the account on the server. */ | ||
| async deleteIt(): Promise<void> { | ||
| await this.disconnect(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be logout()
app/logic/Abstract/Account.ts
Outdated
|
|
||
| /** | ||
| * Used to request that any long-lived connections be disconnected, | ||
| * either due to app shutdown or account deletion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* e.g. due to app shutdown.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks that you added the function, and documented it
No description provided.