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

MXSession: Add MXSessionStateSyncError state and MXSession.syncError #550

Merged
merged 3 commits into from
Aug 22, 2018

Conversation

manuroe
Copy link
Contributor

@manuroe manuroe commented Aug 21, 2018

to manage homeserver resource quota on /sync requests

Point 3 of of element-hq/element-ios#1937

{
// Handle error here
// on 64 bits devices, the error codes are huge integers.
int32_t code = (int32_t)error.code;
Copy link
Contributor

Choose a reason for hiding this comment

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

Check error domain before check error code. You could have an error from other domain with same error code.

@manuroe manuroe merged commit a2a0bda into develop Aug 22, 2018
@manuroe manuroe deleted the riot_1937_2 branch August 22, 2018 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants