mirror of https://github.com/vector-im/riot-web
add final return for clarity
parent
9a3717a274
commit
dcc8a45aa1
|
@ -163,6 +163,7 @@ function createSelfRoomMembershipAction(matrixClient, membershipEvent, member, o
|
||||||
if (member.userId === matrixClient.getUserId()) {
|
if (member.userId === matrixClient.getUserId()) {
|
||||||
return { action: 'MatrixActions.Room.selfMembership', member };
|
return { action: 'MatrixActions.Room.selfMembership', member };
|
||||||
}
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue