Refactoring
This commit is contained in:
parent
13ac8e351c
commit
ce64c110c8
|
@ -253,10 +253,10 @@ class Connection {
|
||||||
|
|
||||||
dynamic args = {};
|
dynamic args = {};
|
||||||
|
|
||||||
String action = "/client/r0/sync?filters=${_firstSyncFilters}";
|
String action = "/client/r0/sync?filters=$_firstSyncFilters";
|
||||||
|
|
||||||
if (client.prevBatch != null) {
|
if (client.prevBatch != null) {
|
||||||
action = "/client/r0/sync?filters=${_syncFilters}";
|
action = "/client/r0/sync?filters=$_syncFilters";
|
||||||
action += "&timeout=30000";
|
action += "&timeout=30000";
|
||||||
action += "&since=${client.prevBatch}";
|
action += "&since=${client.prevBatch}";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue