-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The following functions have incorrect visibility:
xmtp-ios/Sources/XMTPiOS/Codecs/MultiRemoteAttachmentCodec.swift
Lines 137 to 149 in 6b990f9
| /// Encrypt arbitrary bytes (already encoded with some codec, e.g. AttachmentCodec) | |
| /// so that they can be uploaded to remote storage. | |
| static func encryptBytesForLocalAttachment(_ bytesToEncrypt: Data, filename: String) throws -> EncryptedEncodedContent { | |
| return try RemoteAttachment.encodeEncryptedBytes(encodedContent: bytesToEncrypt, filename: filename) | |
| } | |
| /// Builds a `RemoteAttachmentInfo` from an `EncryptedEncodedContent` plus a remote HTTPS URL. | |
| static func buildRemoteAttachmentInfo( | |
| encryptedAttachment: EncryptedEncodedContent, | |
| remoteUrl: URL | |
| ) throws -> MultiRemoteAttachment.RemoteAttachmentInfo { | |
| return try MultiRemoteAttachment.RemoteAttachmentInfo.from(url: remoteUrl, encryptedEncodedContent: encryptedAttachment) | |
| } |
Expected behavior
No response
Steps to reproduce the bug
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working