Skip to content

Commit 862677d

Browse files
committed
Disable attachment status notifications for now
1 parent ba2b52c commit 862677d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Signal-Windows.Lib/SignalLibHandle.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -714,8 +714,6 @@ private void TryScheduleAttachmentDownload(SignalAttachment attachment)
714714
}).Result;
715715
BackgroundDownloader downloader = new BackgroundDownloader();
716716
downloader.SetRequestHeader("Content-Type", "application/octet-stream");
717-
downloader.SuccessToastNotification = LibUtils.CreateToastNotification($"{attachment.SentFileName} has finished downloading.");
718-
downloader.FailureToastNotification = LibUtils.CreateToastNotification($"{attachment.SentFileName} has failed to download.");
719717
// this is the recommended way to call CreateDownload
720718
// see https://docs.microsoft.com/en-us/uwp/api/windows.networking.backgroundtransfer.backgrounddownloader#Methods
721719
DownloadOperation download = downloader.CreateDownload(new Uri(RetrieveAttachmentUrl(attachmentPointer)), tmpDownload);

0 commit comments

Comments
 (0)