fix: Do not set read markers for sending events
This commit is contained in:
parent
816b753efb
commit
ad8c0b266d
1 changed files with 1 additions and 0 deletions
|
|
@ -450,6 +450,7 @@ class ChatController extends State<ChatPageWithRoom>
|
|||
Future<void>? _setReadMarkerFuture;
|
||||
|
||||
void setReadMarker({String? eventId}) {
|
||||
if (eventId?.isValidMatrixId == false) return;
|
||||
if (_setReadMarkerFuture != null) return;
|
||||
if (_scrolledUp) return;
|
||||
if (scrollUpBannerEventId != null) return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue