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

Feature request: Add way to identify FFiConversation #212

Closed nakajima closed 1 year ago

nakajima commented 1 year ago

Is your feature request related to a problem?

It would be nice to have a way to identify a conversation. I'd say "peer address" though in a world with group chat, that makes less sense. Maybe topic info?

https://github.com/xmtp/libxmtp-swift/blob/main/Sources/LibXMTP/xmtpv3.swift#L399C36-L463

Describe the solution to the problem

No response

Describe the uses cases for the feature

No response

Additional details

No response

neekolas commented 1 year ago

Great call out. We have an internal identifier convo_id (not to be confused with V2 conversation IDs) that feels like it would do what you want. It's just the sorted member list right now, but it's treated as an opaque string in libxmtp and might be produced in different ways for things like group conversations.

nakajima commented 1 year ago

Exposed convo_id in https://github.com/xmtp/libxmtp/pull/215