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

Stop unnecessary contact refeshes in Element #1172

Merged
merged 2 commits into from
Jul 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Changes to be released in next version
🐛 Bugfix
* MXCryptoStore: Keep current store version after resetting data to avoid dead state on an initial sync (vector-im/element-ios/issues/4594).
* Prevent session pause until reject/hangup event is sent (vector-im/element-ios/issues/4612).
* Only post identity server changed notification if the server actually changed.

⚠️ API Changes
*
Expand Down
8 changes: 4 additions & 4 deletions MatrixSDK/MXSession.m
Original file line number Diff line number Diff line change
Expand Up @@ -1725,11 +1725,11 @@ - (void)handleAccountData:(NSDictionary*)accountDataUpdate

// Use the IS from the account data
[self setIdentityServer:identityServer andAccessToken:nil];

[[NSNotificationCenter defaultCenter] postNotificationName:kMXSessionAccountDataDidChangeIdentityServerNotification
object:self
userInfo:nil];
}

[[NSNotificationCenter defaultCenter] postNotificationName:kMXSessionAccountDataDidChangeIdentityServerNotification
object:self
userInfo:nil];
}
}

Expand Down