mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-19 21:29:52 -07:00
Support following the .well-known entries for a username's domain (#209)
This commit is contained in:
parent
c5999bffc8
commit
84bc6be822
4 changed files with 29 additions and 8 deletions
15
README.md
15
README.md
|
@ -61,6 +61,20 @@ nix profile install "github:ulyssa/iamb"
|
|||
|
||||
You can create a basic configuration in `$CONFIG_DIR/iamb/config.json` that looks like:
|
||||
|
||||
```json
|
||||
{
|
||||
"profiles": {
|
||||
"example.com": {
|
||||
"user_id": "@user:example.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
If you homeserver is located on a different domain than the server part of the
|
||||
`user_id` and you don't have a [`/.well-known`][well_known_entry] entry, then
|
||||
you can explicitly specify the homeserver URL to use:
|
||||
|
||||
```json
|
||||
{
|
||||
"profiles": {
|
||||
|
@ -122,6 +136,7 @@ iamb is released under the [Apache License, Version 2.0].
|
|||
[iamb.chat]: https://iamb.chat
|
||||
[gomuks]: https://github.com/tulir/gomuks
|
||||
[weechat-matrix]: https://github.com/poljar/weechat-matrix
|
||||
[well_known_entry]: https://spec.matrix.org/latest/client-server-api/#getwell-knownmatrixclient
|
||||
[#8]: https://github.com/ulyssa/iamb/issues/8
|
||||
[#14]: https://github.com/ulyssa/iamb/issues/14
|
||||
[#16]: https://github.com/ulyssa/iamb/issues/16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue