Skip to content

Commit

Permalink
Merge branch 'fix-intent-leave' of github.com:iwalkalone69/matrix-app…
Browse files Browse the repository at this point in the history
…service-bridge into fix-intent-leave
  • Loading branch information
iwalkalone69 committed May 2, 2023
2 parents 7595978 + 1e262d9 commit 651348b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/intent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ export class Intent {
*/
public async leave(roomId: string, reason?: string) {
await this.botSdkIntent.ensureRegistered();
return this.botSdkIntent.leaveRoom(roomId);
return this.botSdkIntent.leaveRoom(roomId, reason);
}

/**
Expand Down

0 comments on commit 651348b

Please sign in to comment.