-
Notifications
You must be signed in to change notification settings - Fork 56
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
Test support for inviting 3pids in /createRoom #128
Conversation
my $invite_info = { | ||
medium => "email", | ||
address => $invitee_email, | ||
id_server => $id_server->name, |
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.
Please align the three '=>'s
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.
Done
id_server => $id_server->name, | ||
}; | ||
matrix_create_room( $inviter, invite_3pid => [ $invite_info ] ) | ||
->then( sub { |
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.
It would avoid the excessive indentation here, to end this then
block and start another; by doing
matrix_create_room( ... );
})->then( sub {
( $room_id ) = @_;
Aside from the indentation/reflow (which can be fixed up later) this LGTM. |
36d0307
to
5cbc8c0
Compare
Test support for inviting 3pids in /createRoom
matrix-org/matrix-spec-proposals#247
matrix-org/synapse#460