Initial attempt to feed IV into the new viewer.

This commit is contained in:
John Preston
2026-05-05 23:12:54 +04:00
parent 5766505c75
commit 7ba610fd33
16 changed files with 3462 additions and 51 deletions
@@ -1817,16 +1817,19 @@ void Session::documentLoadFail(
void Session::photoLoadProgress(not_null<PhotoData*> photo) {
requestPhotoViewRepaint(photo);
_photoLoadProgress.fire_copy(photo);
}
void Session::photoLoadDone(not_null<PhotoData*> photo) {
notifyPhotoLayoutChanged(photo);
_photoLoadProgress.fire_copy(photo);
}
void Session::photoLoadFail(
not_null<PhotoData*> photo,
bool started) {
notifyPhotoLayoutChanged(photo);
_photoLoadProgress.fire_copy(photo);
}
void Session::markMediaRead(not_null<const DocumentData*> document) {