diff --git a/linphone-desktop/ui/modules/Linphone/Notifications/NotificationReceivedFileMessage.qml b/linphone-desktop/ui/modules/Linphone/Notifications/NotificationReceivedFileMessage.qml index bbf238e94..26740bf99 100644 --- a/linphone-desktop/ui/modules/Linphone/Notifications/NotificationReceivedFileMessage.qml +++ b/linphone-desktop/ui/modules/Linphone/Notifications/NotificationReceivedFileMessage.qml @@ -71,7 +71,10 @@ Notification { hoverEnabled: true onClicked: notification._close(function () { - Qt.openUrlExternally(Utils.getUriFromSystemPath(notification._fileUri)) + var uri = Utils.getUriFromSystemPath(notification._fileUri) + if (!Qt.openUrlExternally(uri)) { + Qt.openUrlExternally(Utils.dirname(uri)) + } }) } }