matrix-org / matrix-rust-sdk-crypto-wasm

Apache License 2.0
12 stars 7 forks source link

Fix a doc comment incorrectly stating that the function returns a promise #129

Closed poljar closed 3 months ago

poljar commented 3 months ago

In cbd7ca9d4 the Device.verificationRequest method was converted from an async method to a sync one, this was done because the underlying SDK method has received the same treatment.

The doc comment was not updated to reflect this change and claimed that it's still returning a promise. This patch fixes this mistake.

Closes: https://github.com/matrix-org/matrix-rust-sdk-crypto-wasm/issues/127