[Room] Minor bugfix
This commit is contained in:
parent
3236224496
commit
1e46af6b67
|
@ -41,7 +41,12 @@ void main() {
|
||||||
client.connection.httpClient = FakeMatrixApi();
|
client.connection.httpClient = FakeMatrixApi();
|
||||||
client.homeserver = "https://fakeServer.notExisting";
|
client.homeserver = "https://fakeServer.notExisting";
|
||||||
|
|
||||||
Room room = Room(id: roomID, client: client, prev_batch: "1234");
|
Room room = Room(
|
||||||
|
id: roomID,
|
||||||
|
client: client,
|
||||||
|
prev_batch: "1234",
|
||||||
|
states: {},
|
||||||
|
roomAccountData: {});
|
||||||
Timeline timeline = Timeline(
|
Timeline timeline = Timeline(
|
||||||
room: room,
|
room: room,
|
||||||
events: [],
|
events: [],
|
||||||
|
|
Loading…
Reference in a new issue