Add markRoomReadMsecDelay setting
This commit is contained in:
parent
5bc5249ccf
commit
835d1c486f
|
@ -10,6 +10,11 @@ and this project adheres to
|
|||
|
||||
## Unreleased
|
||||
|
||||
### Added
|
||||
|
||||
- `markRoomReadMsecDelay` to configure how long in milliseconds Mirage will
|
||||
wait before marking a focused room as read, defaults to `200`
|
||||
|
||||
### Changed
|
||||
|
||||
- **Unread message/highlight counters**:
|
||||
|
|
|
@ -239,6 +239,7 @@ class UISettings(JSONDataFile):
|
|||
"hideProfileChangeEvents": True,
|
||||
"hideMembershipEvents": False,
|
||||
"hideUnknownEvents": True,
|
||||
"markRoomReadMsecDelay": 200,
|
||||
"maxMessageCharactersPerLine": 65,
|
||||
"ownMessagesOnLeftAboveWidth": 895,
|
||||
"theme": "Midnight.qpl",
|
||||
|
|
|
@ -353,7 +353,7 @@ Rectangle {
|
|||
}
|
||||
|
||||
Timer {
|
||||
interval: 1000
|
||||
interval: window.settings.markRoomReadMsecDelay
|
||||
|
||||
running:
|
||||
(chat.roomInfo.unreads || chat.roomInfo.highlights) &&
|
||||
|
|
Loading…
Reference in New Issue
Block a user