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

Latest libxmtp - permissions and description field updates #434

Merged
merged 20 commits into from
Jul 2, 2024

Conversation

cameronvoell
Copy link
Contributor

@cameronvoell cameronvoell commented Jul 2, 2024

Related PRs:

Android native module

  • functions for read / update description
  • function for update group permission (super admin only)
  • function for reading a groups current PolicySet

iOS native module

  • functions for read / update description
  • function for update group permission (super admin only)
  • function for reading a groups current PolicySet

RN library

  • functions for read / update description
  • function for update group permission (super admin only)
  • function for reading a groups current PolicySet
  • tests

See new test "can update group permissions" at the bottom:
image

@cameronvoell cameronvoell changed the base branch from main to beta July 2, 2024 01:23
@cameronvoell cameronvoell force-pushed the cv/latest-libxmtp-permissions-description-updates branch from a062588 to 0bb8a1f Compare July 2, 2024 05:29
@cameronvoell cameronvoell marked this pull request as ready for review July 2, 2024 17:09
@cameronvoell cameronvoell requested a review from a team as a code owner July 2, 2024 17:09
@cameronvoell cameronvoell force-pushed the cv/latest-libxmtp-permissions-description-updates branch from 3c6b741 to f4f45c4 Compare July 2, 2024 17:12
return mapOf(
"clientAddress" to client.address,
"id" to group.id.toHex(),
"createdAt" to group.createdAt.time,
"peerInboxIds" to group.peerInboxIds(),
"version" to "GROUP",
"topic" to group.topic,
"permissionLevel" to permissionString,
"permissionPolicySet" to permissionPolicySet,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this is still needed here since you no longer parse it on the group object?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call, this isnt being used anymore, removed here 1e5fcd5

ios/Wrappers/GroupWrapper.swift Outdated Show resolved Hide resolved
@cameronvoell cameronvoell merged commit 2fdc48b into beta Jul 2, 2024
5 of 6 checks passed
@cameronvoell cameronvoell deleted the cv/latest-libxmtp-permissions-description-updates branch July 2, 2024 17:55
Copy link
Contributor

github-actions bot commented Jul 2, 2024

🎉 This PR is included in version 1.34.0-beta.18 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants