Skip to content

Commit 4500948

Browse files
committed
make internal attachment stuff private
1 parent a74485e commit 4500948

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Signal-Windows.Lib/SignalLibHandle.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -289,16 +289,6 @@ public void RetrieveAttachment(SignalServiceAttachmentPointer pointer, Stream do
289289
{
290290
MessageReceiver.retrieveAttachment(pointer, downloadStream, tempStream, 0);
291291
}
292-
293-
public string RetrieveAttachmentUrl(SignalServiceAttachmentPointer pointer)
294-
{
295-
return MessageReceiver.RetrieveAttachmentDownloadUrl(pointer);
296-
}
297-
298-
public void DecryptAttachment(SignalServiceAttachmentPointer pointer, Stream tempStream, Stream downloadStream)
299-
{
300-
MessageReceiver.DecryptAttachment(pointer, tempStream, downloadStream);
301-
}
302292
#endregion
303293

304294
#region attachment api
@@ -549,6 +539,16 @@ private async Task HandleSuccessfullDownload(SignalAttachment attachment, IStora
549539
}
550540
}
551541

542+
private string RetrieveAttachmentUrl(SignalServiceAttachmentPointer pointer)
543+
{
544+
return MessageReceiver.RetrieveAttachmentDownloadUrl(pointer);
545+
}
546+
547+
private void DecryptAttachment(SignalServiceAttachmentPointer pointer, Stream tempStream, Stream downloadStream)
548+
{
549+
MessageReceiver.DecryptAttachment(pointer, tempStream, downloadStream);
550+
}
551+
552552
private async Task RecoverDownloads()
553553
{
554554
var downloads = await BackgroundDownloader.GetCurrentDownloadsAsync();

0 commit comments

Comments
 (0)