chore: Update Matrix API Lite for spaces fixes
This commit is contained in:
parent
be8c3290a2
commit
21e9b802a0
|
|
@ -1107,8 +1107,8 @@ class Room {
|
||||||
}
|
}
|
||||||
final resp = await client.getRoomEvents(
|
final resp = await client.getRoomEvents(
|
||||||
id,
|
id,
|
||||||
prev_batch,
|
|
||||||
direction,
|
direction,
|
||||||
|
from: prev_batch,
|
||||||
limit: historyCount,
|
limit: historyCount,
|
||||||
filter: jsonEncode(StateFilter(lazyLoadMembers: true).toJson()),
|
filter: jsonEncode(StateFilter(lazyLoadMembers: true).toJson()),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -178,8 +178,8 @@ class Timeline {
|
||||||
direction = Direction.b}) async {
|
direction = Direction.b}) async {
|
||||||
final resp = await room.client.getRoomEvents(
|
final resp = await room.client.getRoomEvents(
|
||||||
room.id,
|
room.id,
|
||||||
direction == Direction.b ? chunk.prevBatch : chunk.nextBatch,
|
|
||||||
direction,
|
direction,
|
||||||
|
from: direction == Direction.b ? chunk.prevBatch : chunk.nextBatch,
|
||||||
limit: historyCount,
|
limit: historyCount,
|
||||||
filter: jsonEncode(StateFilter(lazyLoadMembers: true).toJson()),
|
filter: jsonEncode(StateFilter(lazyLoadMembers: true).toJson()),
|
||||||
);
|
);
|
||||||
|
|
@ -573,8 +573,8 @@ class Timeline {
|
||||||
try {
|
try {
|
||||||
final resp = await room.client.getRoomEvents(
|
final resp = await room.client.getRoomEvents(
|
||||||
room.id,
|
room.id,
|
||||||
prevBatch,
|
|
||||||
Direction.b,
|
Direction.b,
|
||||||
|
from: prevBatch,
|
||||||
limit: requestHistoryCount,
|
limit: requestHistoryCount,
|
||||||
filter: jsonEncode(StateFilter(lazyLoadMembers: true).toJson()),
|
filter: jsonEncode(StateFilter(lazyLoadMembers: true).toJson()),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ dependencies:
|
||||||
crypto: ^3.0.0
|
crypto: ^3.0.0
|
||||||
base58check: ^2.0.0
|
base58check: ^2.0.0
|
||||||
olm: ^2.0.0
|
olm: ^2.0.0
|
||||||
matrix_api_lite: ^1.0.0
|
matrix_api_lite: ^1.1.0
|
||||||
hive: ^2.2.1
|
hive: ^2.2.1
|
||||||
image: ^3.1.1
|
image: ^3.1.1
|
||||||
ffi: ^1.0.0
|
ffi: ^1.0.0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue