diff --git a/src/verification.ts b/src/verification.ts index aa20740b213..ec49676c5e5 100644 --- a/src/verification.ts +++ b/src/verification.ts @@ -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); } }