mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Move passcode management from MainWindow.
Check for auto lock in AuthSession. Don't autolock while video plays. Closes #3219
This commit is contained in:
@@ -1600,6 +1600,8 @@ void MediaView::onVideoPlayProgress(const AudioMsgId &audioId) {
|
||||
if (state.duration) {
|
||||
updateVideoPlaybackState(state);
|
||||
}
|
||||
|
||||
AuthSession::Current().data().setLastTimeVideoPlayedAt(getms(true));
|
||||
}
|
||||
|
||||
void MediaView::updateVideoPlaybackState(const Media::Player::TrackState &state) {
|
||||
|
Reference in New Issue
Block a user