mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 09:15:41 +03:00
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 {
|
||||
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 a new issue