Skip to content

Commit

Permalink
Fix Remote Attachments Scheme not matching (#165)
Browse files Browse the repository at this point in the history
* make iOS match JS and Android

* bump the pod spec
  • Loading branch information
nplasterer authored Sep 21, 2023
1 parent 0339fb7 commit 50181dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Sources/XMTP/Codecs/RemoteAttachmentCodec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct HTTPFetcher: RemoteContentFetcher {

public struct RemoteAttachment {
public enum Scheme: String {
case https = "https://"
case https = "https"
}

public var url: String
Expand Down Expand Up @@ -149,7 +149,7 @@ public struct RemoteAttachmentCodec: ContentCodec {
"secret": content.secret.toHex,
"salt": content.salt.toHex,
"nonce": content.nonce.toHex,
"scheme": "https://",
"scheme": "https",
"contentLength": String(content.contentLength ?? -1),
"filename": content.filename ?? "",
]
Expand Down
2 changes: 1 addition & 1 deletion XMTP.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |spec|
#

spec.name = "XMTP"
spec.version = "0.5.10-alpha0"
spec.version = "0.5.11-alpha0"
spec.summary = "XMTP SDK Cocoapod"

# This description is used to generate tags and improve search results.
Expand Down

0 comments on commit 50181dc

Please sign in to comment.