Merge branch 'krille/fix-tap-to-read' into 'main'

fix: Send read receipts on all taps

See merge request famedly/fluffychat!773
This commit is contained in:
Krille Fear 2022-03-13 10:16:13 +00:00
commit 85e8eaf2be

View File

@ -162,6 +162,7 @@ class ChatView extends StatelessWidget {
}, },
child: GestureDetector( child: GestureDetector(
onTapDown: controller.setReadMarker, onTapDown: controller.setReadMarker,
behavior: HitTestBehavior.opaque,
child: StreamBuilder( child: StreamBuilder(
stream: controller.room!.onUpdate.stream stream: controller.room!.onUpdate.stream
.rateLimit(const Duration(milliseconds: 250)), .rateLimit(const Duration(milliseconds: 250)),