Skip to content

Commit

Permalink
make everything await
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Mar 27, 2024
1 parent 6f69dac commit e279094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings_ffi/src/mls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,13 +362,13 @@ impl FfiGroup {
Ok(messages)
}

pub fn process_streamed_group_message(&self, envelope_bytes: Vec<u8>) -> Result<FfiMessage, GenericError> {
pub async fn process_streamed_group_message(&self, envelope_bytes: Vec<u8>) -> Result<FfiMessage, GenericError> {
let group = MlsGroup::new(
self.inner_client.as_ref(),
self.group_id.clone(),
self.created_at_ns,
);
let message = group.process_streamed_group_message(envelope).into();
let message = group.process_streamed_group_message(envelope).await?.into();

Ok(message)
}
Expand Down

0 comments on commit e279094

Please sign in to comment.