From 21f9549c7847fc3bcaa560b82a6b21854c60d50d Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 8 Dec 2017 15:33:03 +0000 Subject: [PATCH] Oops, missed some params --- src/cryptodevices.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cryptodevices.js b/src/cryptodevices.js index b2d308d741..c93e04253f 100644 --- a/src/cryptodevices.js +++ b/src/cryptodevices.js @@ -83,6 +83,12 @@ export function showUnknownDeviceDialogForMessages(matrixClient, room) { * * @param {MatrixClient} matrixClient A MatrixClient * @param {Room} room js-sdk room object representing the room + * @param {func} sendAnyway Function called when the 'call anyway' or 'call' + * button is pressed. This should attempt to place or answer the call again. + * @param {string} sendAnywayLabel Label for the button displayed to retry the call + * when unknown devices are still present (eg. "Call Anyway") + * @param {string} sendLabel Label for the button displayed to retry the call + * after all devices have been verified (eg. "Call") */ export function showUnknownDeviceDialogForCalls(matrixClient, room, sendAnyway, sendAnywayLabel, sendLabel) { getUnknownDevicesForRoom(matrixClient, room).then((unknownDevices) => {