From df379c31e29761d24cfaa37c5eeebd07ffbbb67e Mon Sep 17 00:00:00 2001 From: kele-leanes Date: Mon, 19 Feb 2024 12:18:35 -0300 Subject: [PATCH] fix: update SendOptions initializer parameter name --- Sources/XMTPiOS/SendOptions.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/XMTPiOS/SendOptions.swift b/Sources/XMTPiOS/SendOptions.swift index e6a9e74a..50c6ece6 100644 --- a/Sources/XMTPiOS/SendOptions.swift +++ b/Sources/XMTPiOS/SendOptions.swift @@ -13,10 +13,10 @@ public struct SendOptions { public var ephemeral: Bool = false public var shouldPush: Bool? - public init(compression: EncodedContentCompression? = nil, contentType: ContentTypeID? = nil, ephemeral: Bool = false, shouldPush: Bool? = nil) { + public init(compression: EncodedContentCompression? = nil, contentType: ContentTypeID? = nil, ephemeral: Bool = false, __shouldPush: Bool? = nil) { self.compression = compression self.contentType = contentType self.ephemeral = ephemeral - self.shouldPush = shouldPush + self.shouldPush = __shouldPush } }