1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-04 05:02:41 +03:00

fix jsdoc

This commit is contained in:
Bruno Windels
2020-04-02 13:37:15 +02:00
parent 43eae4929b
commit f3a05f6ed0

View File

@@ -221,6 +221,7 @@ export class VerificationRequest extends EventEmitter {
* if the other party supports SCAN_QR, we should show a QR code in the UI, and vice versa. * if the other party supports SCAN_QR, we should show a QR code in the UI, and vice versa.
* For methods that need to be supported by both ends, use the `methods` property. * For methods that need to be supported by both ends, use the `methods` property.
* @param {string} method the method to check * @param {string} method the method to check
* @param {boolean} force to check even if the phase is not ready or started yet, internal usage
* @return {bool} whether or not the other party said the supported the method */ * @return {bool} whether or not the other party said the supported the method */
otherPartySupportsMethod(method, force = false) { otherPartySupportsMethod(method, force = false) {
if (!force && !this.ready && !this.started) { if (!force && !this.ready && !this.started) {