room-history: Only wait 5 seconds to mark a message as read

This commit is contained in:
Kévin Commaille 2023-10-02 14:25:25 +02:00
parent 1d9c82a703
commit a7d9c3e1d7
No known key found for this signature in database
GPG key ID: 29A48C1F03620416

View file

@ -85,7 +85,7 @@ use crate::{
/// The time to wait before considering that scrolling has ended.
const SCROLL_TIMEOUT: Duration = Duration::from_millis(500);
/// The time to wait before considering that messages on a screen where read.
const READ_TIMEOUT: Duration = Duration::from_secs(10);
const READ_TIMEOUT: Duration = Duration::from_secs(5);
#[derive(Debug, Default, Hash, Eq, PartialEq, Clone, Copy, glib::Enum)]
#[repr(i32)]