From c8aace35971b2d25a06aad65b872929ac61d235a Mon Sep 17 00:00:00 2001
From: Lukas Schauer <lukas@schauer.so>
Date: Wed, 29 Apr 2020 23:34:57 +0200
Subject: [PATCH] jitsi recordings: use masterfile for download instead of
 original

---
 jitsimod/templates/jitsi/room.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jitsimod/templates/jitsi/room.html b/jitsimod/templates/jitsi/room.html
index 9594d51..4c572ef 100644
--- a/jitsimod/templates/jitsi/room.html
+++ b/jitsimod/templates/jitsi/room.html
@@ -77,7 +77,7 @@
 			<div class="w3-bar-item w3-right w3-right-align">
 				<span>Uploaded: {{ video.created_at|date:"d.m.Y" }}</span><br/>
 				<form id="video-deleteform-{{ video.id }}" action="?" method="post">{% csrf_token %}<input type="hidden" name="deleterecording" value="{{ video.id }}" /></form>
-				<span><a href="#" onclick='if(confirm("Do you really want to delete this file?")) document.getElementById("video-deleteform-{{ video.id }}").submit();' class='w3-text-red'>Delete</a> | <a href="{{ MEDIA_URL }}{{ video.original }}?key={{ video.key }}&timestamp={{ video.created_at|date:'U' }}" download>Download</a></span>
+				<span><a href="#" onclick='if(confirm("Do you really want to delete this file?")) document.getElementById("video-deleteform-{{ video.id }}").submit();' class='w3-text-red'>Delete</a> | <a href="{{ MEDIA_URL }}{{ video.masterfile }}?key={{ video.key }}&timestamp={{ video.created_at|date:'U' }}" download>Download</a></span>
 			</div>
 		</li>
 		{% endfor %}
-- 
GitLab