mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 06:55:12 +00:00
fix: Chats do not load
This commit is contained in:
parent
4187875728
commit
db4410ac14
1 changed files with 3 additions and 0 deletions
|
@ -289,6 +289,9 @@ class ChatController extends State<ChatPageWithRoom> {
|
||||||
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;
|
eventContextId ??= room.fullyRead;
|
||||||
|
if (!eventContextId.isValidMatrixId || eventContextId.sigil != '\$') {
|
||||||
|
eventContextId = null;
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
timeline = await room
|
timeline = await room
|
||||||
.getTimeline(
|
.getTimeline(
|
||||||
|
|
Loading…
Reference in a new issue