-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial MSC1929 Implementation #150
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
962c5ba
to
97fcdb9
Compare
f32b211
to
8a888e2
Compare
|
||
try { | ||
const resp: SupportJson = await new Promise((resolve, reject) => { | ||
getRequestFn()(`${domain}/.well-known/matrix/support`, (error: any, response: any, resBody: unknown) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah Hm ok yeah it prints the error but seems like in this case it just printed the whole page oO. Yeah not supported and it went wrong.
…s for the representation type. Co-authored-by: gnuxie <[email protected]>
N.B. We updated the MSC with a few name changes here and there, you might want to update to reflect changes. |
I will take a look. I think I already applied the comments before the MSC did :) Thanks for the notice however! |
Adds a command to query the MSC1929 JSON and display it. It also adds tests for this.
Some example output:
All infos available:
Only users available:
Only Support page available: