Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Provide userId parameter to findVerificationRequestDMInProgress (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros authored Aug 1, 2023
1 parent 6ae7c03 commit b2eac5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/verification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,6 @@ export function pendingVerificationRequestForUser(
): VerificationRequest | undefined {
const dmRoom = findDMForUser(matrixClient, user.userId);
if (dmRoom) {
return matrixClient.getCrypto()!.findVerificationRequestDMInProgress(dmRoom.roomId);
return matrixClient.getCrypto()!.findVerificationRequestDMInProgress(dmRoom.roomId, user.userId);
}
}

0 comments on commit b2eac5b

Please sign in to comment.