mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-30 19:01:17 +02:00
add final return for clarity
This commit is contained in:
parent
9a3717a274
commit
dcc8a45aa1
@ -163,6 +163,7 @@ function createSelfRoomMembershipAction(matrixClient, membershipEvent, member, o
|
||||
if (member.userId === matrixClient.getUserId()) {
|
||||
return { action: 'MatrixActions.Room.selfMembership', member };
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user