Add URI encoding
This commit is contained in:
parent
144902f681
commit
e96929de00
|
@ -44,10 +44,10 @@ class Connection {
|
|||
}));
|
||||
}
|
||||
|
||||
String get _syncFilters =>
|
||||
"{\"room\":{\"state\":{\"lazy_load_members\":${client.lazyLoadMembers ? "1" : "0"}}}";
|
||||
String get _firstSyncFilters =>
|
||||
"{\"room\":{\"include_leave\":1,\"state\":{\"lazy_load_members\":${client.lazyLoadMembers ? "1" : "0"}}}";
|
||||
String get _syncFilters => Uri.encodeFull(
|
||||
"{\"room\":{\"state\":{\"lazy_load_members\":${client.lazyLoadMembers ? "1" : "0"}}}");
|
||||
String get _firstSyncFilters => Uri.encodeFull(
|
||||
"{\"room\":{\"include_leave\":1,\"state\":{\"lazy_load_members\":${client.lazyLoadMembers ? "1" : "0"}}}");
|
||||
|
||||
/// Handles the connection to the Matrix Homeserver. You can change this to a
|
||||
/// MockClient for testing.
|
||||
|
|
Loading…
Reference in a new issue