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

E2e key sharing: Show the dialog on incoming key requests #1652

Merged
merged 3 commits into from
Nov 15, 2017

Conversation

manuroe
Copy link
Member

@manuroe manuroe commented Nov 15, 2017

No description provided.

@manuroe manuroe requested a review from giomfo November 15, 2017 11:27
{
// Pick the first coming user/device pair
NSString *user = pendingKeyRequests.userIds[0];
NSString *device = [pendingKeyRequests deviceIdsForUser:user][0];
Copy link
Member

Choose a reason for hiding this comment

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

You should use firstObject in case [pendingKeyRequests deviceIdsForUser:user] is empty.

@manuroe
Copy link
Member Author

manuroe commented Nov 15, 2017

For reference, this is a PR for element-hq/riot-meta#113.
It requires matrix-org/matrix-ios-sdk#413.

@manuroe manuroe merged commit dce2167 into develop Nov 15, 2017
@manuroe manuroe deleted the e2e_key_sharing branch November 15, 2017 13:38
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