Skip to content

Commit

Permalink
Update readme.md w alias example (#24)
Browse files Browse the repository at this point in the history
As fetching wrong alias format is returning 400, this example may save a few minutes and nerves of searching...
  • Loading branch information
AcidKiddo committed May 4, 2023
1 parent 9ea0708 commit b2fbb8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ matrixClient.clientOpts = {
const ydoc = new Y.Doc();
const provider = new MatrixProvider(ydoc, matrixClient, {
type: "alias",
alias: "matrix-room-alias",
alias: "#matrix-room-alias:matrix.org",
});
provider.initialize();

Expand Down

0 comments on commit b2fbb8c

Please sign in to comment.