fix message file download

This commit is contained in:
Gaelle Braud 2026-04-02 17:35:38 +02:00 committed by gaelle
parent 9ef9953238
commit e08112d8c8

View file

@ -92,6 +92,8 @@ bool ChatMessageContentModel::downloadFile(const QString &name, QString *error)
case linphone::ChatMessage::State::DeliveredToUser:
case linphone::ChatMessage::State::Displayed:
case linphone::ChatMessage::State::FileTransferDone:
case linphone::ChatMessage::State::FileTransferError:
case linphone::ChatMessage::State::FileTransferCancelling:
break;
case linphone::ChatMessage::State::FileTransferInProgress:
return true;