When CVC isn't visible, don't complain about starting the read timer

This commit is contained in:
Pete Walters 2026-06-01 16:45:33 -05:00 committed by GitHub
parent 08ae6b3e07
commit 31867c8d06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -372,8 +372,8 @@ extension ConversationViewController {
timer.invalidate()
return
}
// If the view isn't visible, return
guard self.view.window != nil else {
owsFailDebug("Read timer fired when ConversationViewController is not in a view hierarchy")
timer.invalidate()
return
}