From 178cc02dc76b1dd982c833d369668f15524987c9 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Wed, 27 May 2026 15:33:30 -0500 Subject: [PATCH] Use `sender` instead of `user_id` for any stripped state event usages --- tests/30rooms/12thirdpartyinvite.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/30rooms/12thirdpartyinvite.pl b/tests/30rooms/12thirdpartyinvite.pl index 392276cfd..7abe08ece 100644 --- a/tests/30rooms/12thirdpartyinvite.pl +++ b/tests/30rooms/12thirdpartyinvite.pl @@ -223,7 +223,7 @@ sub can_invite_unbound_3pid assert_json_list( $body->{invite_state}{events} ); my %members = map { - $_->{state_key} => $_ + $_->{sender} => $_ } grep { $_->{type} eq "m.room.member" } @{ $body->{invite_state}{events} }; exists $members{ $inviter->user_id } or die "No inviter member invite state";