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

Use Send async_trait for SessionStoreExt #33

Merged
merged 1 commit into from
May 29, 2021

Conversation

lushing
Copy link
Contributor

@lushing lushing commented May 29, 2021

Currently, presage does not build due to the recent changes to libsignal-service. This quick change allows the crate to compile.

Surprisingly, out of the five different instances of #[async_trait(?Send)], this one is the only one that can actually be changed to #[async_trait]. All the others will fail to compile due to the _ctx pointer in the upstream libsignal-client. But for SessionStoreExt specifically, the change compiles out of the box. This works out quite nicely, as we can keep things building even while we are waiting on signalapp/libsignal#297.

@gferon gferon merged commit 20f8be1 into whisperfish:main May 29, 2021
@gferon
Copy link
Collaborator

gferon commented May 29, 2021

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants