You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-16 09:42:23 +03:00
typos in client.ts (#4715)
Pulled out from https://github.com/matrix-org/matrix-js-sdk/pull/4713
This commit is contained in:
@@ -477,7 +477,7 @@ export interface IStartClientOpts {
|
||||
/**
|
||||
* Controls where pending messages appear in a room's timeline. If "<b>chronological</b>", messages will
|
||||
* appear in the timeline when the call to `sendEvent` was made. If "<b>detached</b>",
|
||||
* pending messages will appear in a separate list, accessbile via {@link Room#getPendingEvents}.
|
||||
* pending messages will appear in a separate list, accessible via {@link Room#getPendingEvents}.
|
||||
* Default: "chronological".
|
||||
*/
|
||||
pendingEventOrdering?: PendingEventOrdering;
|
||||
@@ -1094,7 +1094,7 @@ export type ClientEventHandlerMap = {
|
||||
* decryptable, unlike Megolm encrypted events where the key may simply
|
||||
* arrive later.
|
||||
*
|
||||
* An undecryptable to-device event is therefore likley to indicate problems.
|
||||
* An undecryptable to-device event is therefore likely to indicate problems.
|
||||
*
|
||||
* @param event - The undecyptable to-device event
|
||||
*/
|
||||
@@ -6854,7 +6854,7 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetch a user's *extended* profile, which may include additonal keys.
|
||||
* Fetch a user's *extended* profile, which may include additional keys.
|
||||
*
|
||||
* @see https://github.com/tcpipuk/matrix-spec-proposals/blob/main/proposals/4133-extended-profiles.md
|
||||
* @param userId The user ID to fetch the profile of.
|
||||
@@ -6910,7 +6910,7 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
|
||||
*
|
||||
* @see https://github.com/tcpipuk/matrix-spec-proposals/blob/main/proposals/4133-extended-profiles.md
|
||||
* @param key The key of the property to set.
|
||||
* @param value The value to set on the propety.
|
||||
* @param value The value to set on the property.
|
||||
*
|
||||
* @throws An error if the server does not support MSC4133 OR the server disallows editing the user profile.
|
||||
*/
|
||||
@@ -7605,7 +7605,7 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
|
||||
* @param sid - The sid given in the response to requestToken
|
||||
* @param clientSecret - A secret binary string generated by the client.
|
||||
* This must be the same value submitted in the requestToken call.
|
||||
* @param msisdnToken - The MSISDN token, as enetered by the user.
|
||||
* @param msisdnToken - The MSISDN token, as entered by the user.
|
||||
* @param identityAccessToken - The `access_token` field of the Identity
|
||||
* Server `/account/register` response (see {@link registerWithIdentityServer}).
|
||||
* Some legacy identity servers had no authentication here.
|
||||
@@ -7648,7 +7648,7 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
|
||||
* @param sid - The sid given in the response to requestToken
|
||||
* @param clientSecret - A secret binary string generated by the client.
|
||||
* This must be the same value submitted in the requestToken call.
|
||||
* @param msisdnToken - The MSISDN token, as enetered by the user.
|
||||
* @param msisdnToken - The MSISDN token, as entered by the user.
|
||||
*
|
||||
* @returns Promise which resolves: Object, containing success boolean.
|
||||
* @returns Rejects: with an error response.
|
||||
|
||||
Reference in New Issue
Block a user