mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-24 14:32:37 +01:00
fix: Scrolldown button
This commit is contained in:
parent
32d8791fe9
commit
88585fb192
@ -272,7 +272,7 @@ class ChatController extends State<ChatPageWithRoom> {
|
|||||||
super.initState();
|
super.initState();
|
||||||
sendingClient = Matrix.of(context).client;
|
sendingClient = Matrix.of(context).client;
|
||||||
readMarkerEventId = room.fullyRead;
|
readMarkerEventId = room.fullyRead;
|
||||||
loadTimelineFuture = _getTimeline();
|
loadTimelineFuture = _getTimeline(eventContextId: readMarkerEventId);
|
||||||
}
|
}
|
||||||
|
|
||||||
void updateView() {
|
void updateView() {
|
||||||
@ -288,8 +288,8 @@ class ChatController extends State<ChatPageWithRoom> {
|
|||||||
}) async {
|
}) async {
|
||||||
await Matrix.of(context).client.roomsLoading;
|
await Matrix.of(context).client.roomsLoading;
|
||||||
await Matrix.of(context).client.accountDataLoading;
|
await Matrix.of(context).client.accountDataLoading;
|
||||||
eventContextId ??= room.fullyRead;
|
if (eventContextId != null &&
|
||||||
if (!eventContextId.isValidMatrixId || eventContextId.sigil != '\$') {
|
(!eventContextId.isValidMatrixId || eventContextId.sigil != '\$')) {
|
||||||
eventContextId = null;
|
eventContextId = null;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user