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

Remove the requirement for empty client in static functions #1516

Open
cameronvoell opened this issue Jan 16, 2025 · 0 comments
Open

Remove the requirement for empty client in static functions #1516

cameronvoell opened this issue Jan 16, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@cameronvoell
Copy link
Contributor

Is your feature request related to a problem?

For some static functions that don't need the client of a specific user, (like getting inboxStatesForInboxIds or canMessage) downstream SDKs still need to create "empty" clients in order to call. Can we remove this requirement?

See https://github.com/xmtp/xmtp-android/blob/9ec205583ff3cdcf587a2ed88fd849fb3cb89b27/library/src/main/java/org/xmtp/android/library/Client.kt#L94-L113

Describe the solution to the problem

No response

Describe the uses cases for the feature

No response

Additional details

No response

@cameronvoell cameronvoell added the enhancement New feature or request label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant