chore: Follow up missing null check
This commit is contained in:
parent
2084615df1
commit
5829446afa
1 changed files with 2 additions and 1 deletions
|
|
@ -289,7 +289,8 @@ class ChatController extends State<ChatPageWithRoom>
|
||||||
setReadMarker();
|
setReadMarker();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (timeline!.events.any((event) => event.eventId == fullyRead)) {
|
if (timeline?.events.any((event) => event.eventId == fullyRead) ??
|
||||||
|
false) {
|
||||||
Logs().v('Scroll up to visible event', fullyRead);
|
Logs().v('Scroll up to visible event', fullyRead);
|
||||||
setReadMarker();
|
setReadMarker();
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue