xmtp / libxmtp

LibXMTP is a shared library encapsulating the core functionality of the XMTP messaging protocol, such as cryptography, networking, and language bindings.
MIT License
42 stars 18 forks source link

Bug: Required `opts` argument for FfiConversation.listMessages doesn't have a public initializer #210

Closed nakajima closed 1 year ago

nakajima commented 1 year ago

Describe the bug

Right now it's impossible to call listMessages(opts:) because the expected argument type for opts doesn't have a public intitializer: https://github.com/xmtp/libxmtp-swift/blob/main/Sources/LibXMTP/xmtpv3.swift#L608-L621

Expected behavior

No response

Steps to reproduce the bug

No response

nakajima commented 1 year ago

Fixed in https://github.com/xmtp/libxmtp/pull/215.