This is a utility enhancement that allows for timeout on message monitoring and eventually for marking messages as read when the user is active.
AppState has a new RecordActivity() method that resets the timeout timer and new Events for when timeout happens and when the timeout time changes.
The timeout event is used in the RoomTitle component to display a paused message and in the RoomMessages component to pause the new messages monitor.
This is a utility enhancement that allows for timeout on message monitoring and eventually for marking messages as read when the user is active.
AppState has a new RecordActivity() method that resets the timeout timer and new Events for when timeout happens and when the timeout time changes. The timeout event is used in the RoomTitle component to display a paused message and in the RoomMessages component to pause the new messages monitor.