Provide userId parameter to `findVerificationRequestDMInProgress` (#11292)

pull/28217/head
Florian Duros 2023-08-01 10:18:34 +02:00 committed by GitHub
parent 6ae7c033d5
commit b2eac5b65c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}