msgconv: don't set EncryptedFile if there isn't one
FIXME: This probably isn't proper handling, but this is enough to prevent panics.
This commit is contained in:
@@ -34,5 +34,6 @@ type ReuploadedAttachment struct {
|
||||
AttachmentReupload
|
||||
DownloadedSize int
|
||||
MXC id.ContentURIString
|
||||
EncryptedFile *event.EncryptedFileInfo
|
||||
// This can be nil if the room isn't encrypted.
|
||||
EncryptedFile *event.EncryptedFileInfo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user