Skip to content

Commit

Permalink
Merge pull request #195 from matrix-org/markjh/invite_state
Browse files Browse the repository at this point in the history
Include the state_key when looking up state
  • Loading branch information
NegativeMjark committed Feb 25, 2016
2 parents 27cfb6c + 983bd72 commit f88a6f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/30rooms/06invite.pl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ sub invited_user_can_reject_invite

foreach my $event_type ( keys %state_by_type ) {
push @futures, matrix_get_room_state( $creator, $room_id,
type => $event_type
type => $event_type,
state_key => $state_by_type{$event_type}{state_key},
)->then( sub {
my ( $room_content ) = @_;

Expand Down

0 comments on commit f88a6f7

Please sign in to comment.