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

View File

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