add final return for clarity

pull/21833/head
Bruno Windels 2018-09-10 16:55:24 +02:00
parent 9a3717a274
commit dcc8a45aa1
1 changed files with 1 additions and 0 deletions

View File

@ -163,6 +163,7 @@ function createSelfRoomMembershipAction(matrixClient, membershipEvent, member, o
if (member.userId === matrixClient.getUserId()) {
return { action: 'MatrixActions.Room.selfMembership', member };
}
return null;
}
/**