add room directory support
This commit is contained in:
parent
033c7f9c05
commit
e382499a2a
1 changed files with 868 additions and 245 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import "package:fast_immutable_collections/fast_immutable_collections.dart";
|
||||
import "package:material_ui/material_ui.dart";
|
||||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
import "package:nexus/models/name_color.dart";
|
||||
|
|
@ -25,6 +26,10 @@ class const Settings({
|
|||
/// When not sending, read receipts are still sent privately, so that the
|
||||
/// user's other devices know what has been read.
|
||||
final ShowAndSend readReceipts = .showAndSend,
|
||||
final IList<String> directoryServers = const IListConst([
|
||||
"matrix.org",
|
||||
"matrixrooms.info",
|
||||
]),
|
||||
}) with _$Settings {
|
||||
Map<String, Object?> toJson() => _$SettingsToJson(this);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue