xmtp / xmtp-react-native

A package you can use to build with XMTP in a React Native or Expo app.
MIT License
35 stars 14 forks source link

Feature request: Need additional data for group update content #399

Closed alexrisch closed 1 week ago

alexrisch commented 1 month ago

Is your feature request related to a problem?

When changing the name of a group, would like to have some way to display to other users what has changed

Describe the solution to the problem

No response

Describe the uses cases for the feature

No response

Additional details

No response

neekolas commented 1 month ago

This should be included in the GroupUpdated transcript message now. There is a metadata_field_changes field that lists the old and new value for each changed field. Would have gone out with the identity release.

alexrisch commented 4 weeks ago

It's probably exposed in Rust, but getting lost somewhere in RN bridge or the native side Which is being exposed here: https://github.com/xmtp/xmtp-react-native/blob/beta/android/src/main/java/expo/modules/xmtpreactnativesdk/wrappers/ContentJson.kt#L180