Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make public init #471

Merged
merged 4 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Sources/XMTPiOS/Libxmtp/DisappearingMessageSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ import LibXMTP
public struct DisappearingMessageSettings {
public let disappearStartingAtNs: Int64
public let retentionDurationInNs: Int64

public init(disappearStartingAtNs: Int64, retentionDurationInNs: Int64) {
self.disappearStartingAtNs = disappearStartingAtNs
self.retentionDurationInNs = retentionDurationInNs
}

static func createFromFfi(_ ffiSettings: FfiMessageDisappearingSettings) -> DisappearingMessageSettings {
return DisappearingMessageSettings(
Expand Down
2 changes: 1 addition & 1 deletion XMTP.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "XMTP"
spec.version = "3.0.29"
spec.version = "3.0.30"

spec.summary = "XMTP SDK Cocoapod"

Expand Down
Loading