You've already forked matrix-js-sdk
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:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user