diff --git a/src/mainview/components/FilesToSendDelegate.qml b/src/mainview/components/FilesToSendDelegate.qml index 9b73e6ce..fbfbbff7 100644 --- a/src/mainview/components/FilesToSendDelegate.qml +++ b/src/mainview/components/FilesToSendDelegate.qml @@ -103,7 +103,7 @@ Rectangle { // :/ -> resource url for test purposes var sourceUrl = FilePath - if (!sourceUrl.includes(":/")) + if (!sourceUrl.startsWith(":/")) return JamiQmlUtils.qmlFilePrefix + sourceUrl else return "qrc" + sourceUrl