Provide userId parameter to findVerificationRequestDMInProgress
(#11292)
This commit is contained in:
parent
6ae7c033d5
commit
b2eac5b65c
1 changed files with 1 additions and 1 deletions
|
@ -120,6 +120,6 @@ export function pendingVerificationRequestForUser(
|
||||||
): VerificationRequest | undefined {
|
): VerificationRequest | undefined {
|
||||||
const dmRoom = findDMForUser(matrixClient, user.userId);
|
const dmRoom = findDMForUser(matrixClient, user.userId);
|
||||||
if (dmRoom) {
|
if (dmRoom) {
|
||||||
return matrixClient.getCrypto()!.findVerificationRequestDMInProgress(dmRoom.roomId);
|
return matrixClient.getCrypto()!.findVerificationRequestDMInProgress(dmRoom.roomId, user.userId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue