Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
18300eba89
commit
0f448af5dc
7 changed files with 98 additions and 69 deletions
|
|
@ -98,10 +98,10 @@ class HomeserverPickerController extends State<HomeserverPicker> {
|
|||
});
|
||||
|
||||
try {
|
||||
final wellKnown =
|
||||
final summary =
|
||||
await Matrix.of(context).getLoginClient().checkHomeserver(homeserver);
|
||||
|
||||
var jitsi = wellKnown?.additionalProperties
|
||||
var jitsi = summary.discoveryInformation?.additionalProperties
|
||||
.tryGet<Map<String, dynamic>>('im.vector.riot.jitsi')
|
||||
?.tryGet<String>('preferredDomain');
|
||||
if (jitsi != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue