fix: Chats do not load

This commit is contained in:
Krille 2023-05-05 07:54:19 +02:00
parent 23b14e8730
commit a603597b20
No known key found for this signature in database

View File

@ -289,6 +289,9 @@ class ChatController extends State<ChatPageWithRoom> {
await Matrix.of(context).client.roomsLoading;
await Matrix.of(context).client.accountDataLoading;
eventContextId ??= room.fullyRead;
if (!eventContextId.isValidMatrixId || eventContextId.sigil != '\$') {
eventContextId = null;
}
try {
timeline = await room
.getTimeline(