Provide userId parameter to `findVerificationRequestDMInProgress` (#11292)
parent
6ae7c033d5
commit
b2eac5b65c
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue