Skip to content

Commit 35f9184

Browse files
committed
Update README
1 parent f0a15fa commit 35f9184

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import io.github.hikingc.matrixsdk.context.DiscoveryResponse;
2222
MatrixAuth auth = new MatrixAuth(URI.create("https://example.org")); // Set the URI of your Matrix server.
2323
DiscoveryResponse response = auth.fetchWellKnown(); // Fetch well known for future operations
2424

25-
TokenMetadata token = auth.login(CLIENT_NAME, PORT, DEVICE_ID); // Set configuration parameters
25+
TokenMetadata token = auth.performOAuthLogin(CLIENT_NAME, PORT, DEVICE_ID); // Set configuration parameters
2626
// After doing the login with the server in your browser, you will be returned the tokens...
2727
MatrixClient client = MatrixClient.create(response, token.accessToken()); // Use any service you want!
2828

@@ -55,7 +55,7 @@ The baseline to reach v1.0 is to implement all endpoints that are required in th
5555
type.
5656
3. Resource serialization/deserialization depends heavily on Jackson 3.0.
5757
4. There is a limit of tolerance to wrongly created events, but in general the library will not attempt to serialize
58-
badly created objects.
58+
badly created objects. See: https://github.com/matrix-org/matrix-spec-proposals/pull/2801 on why this is the case.
5959

6060
## Usage
6161

0 commit comments

Comments
 (0)