Add minimum scale in image viewer

This commit is contained in:
Nicolas Werner 2022-01-02 23:50:08 +01:00
parent f14f978c48
commit 6d4ff70b48
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
2 changed files with 33 additions and 2 deletions

View file

@ -20,12 +20,10 @@
void
MxcAnimatedImage::startDownload()
{
nhlog::ui()->debug("START DOWNLOAD!!!");
if (!room_)
return;
if (eventId_.isEmpty())
return;
nhlog::ui()->debug("START DOWNLOAD2!!!");
auto event = room_->eventById(eventId_);
if (!event) {