Skip to content

Commit 041c915

Browse files
committed
fix missing return
1 parent 11e758e commit 041c915

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/matrixrtc/NewMembershipManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ export class MembershipManager implements IMembershipManager {
399399
case MembershipActionType.SendDelayedEvent: {
400400
// Before we start we check if we come from a state where we have a delay id.
401401
if (!this.state.delayId) {
402-
this.sendOrResendDelayedLeaveEvent(); // Normal case without any previous delayed id.
402+
return this.sendOrResendDelayedLeaveEvent(); // Normal case without any previous delayed id.
403403
} else {
404404
// This can happen if someone else (or another client) removes our own membership event.
405405
// It will trigger `onRTCSessionMemberUpdate` queue `MembershipActionType.SendFirstDelayedEvent`.

0 commit comments

Comments
 (0)