Fixes crash when a file is deleted then redownloaded

pull/3794/head
Ethan Budd 2020-06-18 22:43:06 -05:00
rodzic 5cfd8bbb56
commit c796e2ae3c
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -315,6 +315,7 @@ public class StoredFileHelper implements Serializable {
return false;
if (this.isInvalid() || storage.isInvalid()) {
if (this.srcName == null || storage.srcName == null || this.srcType == null || storage.srcType == null) return false;
return this.srcName.equalsIgnoreCase(storage.srcName) && this.srcType.equalsIgnoreCase(storage.srcType);
}