Form download cache file name from event body.

This commit is contained in:
Black Hat 2018-11-03 22:40:30 +08:00
parent db6c814e26
commit 040b24e0d2
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ Item {
else
{
openOnFinished = true
currentRoom.downloadFile(eventId, StandardPaths.writableLocation(StandardPaths.CacheLocation) + "/" + eventId.replace(":", "_") + ".tmp")
currentRoom.downloadFile(eventId, StandardPaths.writableLocation(StandardPaths.CacheLocation) + "/" + eventId.replace(":", "_") + (message || ".tmp"))
}
}