We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4500948 commit 2285a05Copy full SHA for 2285a05
Signal-Windows.Lib/SignalLibHandle.cs
@@ -485,7 +485,7 @@ private void TryScheduleAttachmentDownload(SignalAttachment attachment)
485
IStorageFolder localFolder = ApplicationData.Current.LocalFolder;
486
IStorageFile tmpDownload = Task.Run(async () =>
487
{
488
- return await ApplicationData.Current.LocalCacheFolder.CreateFileAsync(@"Attachments\" + attachment.Id + ".cipher");
+ return await ApplicationData.Current.LocalCacheFolder.CreateFileAsync(@"Attachments\" + attachment.Id + ".cipher", CreationCollisionOption.ReplaceExisting);
489
}).Result;
490
BackgroundDownloader downloader = new BackgroundDownloader();
491
downloader.SetRequestHeader("Content-Type", "application/octet-stream");
0 commit comments