Skip to content

Commit

Permalink
chore: remove docstring about special abort reason
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonThormeyer committed Jan 28, 2025
1 parent dedd0bc commit edd7a6a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions crypto-ffi/bindings/js/src/CoreCryptoMLS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,6 @@ export type MlsTransportResponse =
| {
/**
* The message was rejected by the delivery service and there's no recovery.
* One special case is when the reason is `mls-client-mismatch`, where you should return Abort and then retry the whole operation.
* For example, when adding a user to a conversation fails with `mls-client-mismatch`, then `Abort("mls-client-mismatch")`, should be returned.
* The resulting `MessageRejected` error returned by core crypto should be caught and discarded before the operation is retried.
*/
abort: { reason: string };
};
Expand Down
3 changes: 0 additions & 3 deletions crypto-ffi/src/generic/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -914,9 +914,6 @@ pub enum MlsTransportResponse {
/// A client should have consumed all incoming messages before re-trying.
Retry,
/// The message was rejected by the distribution service and there's no recovery.
/// One special case is when the reason is `mls-client-mismatch`, where you should return Abort and then retry the whole operation.
/// For example, when adding a user to a conversation fails with `mls-client-mismatch`, then `Abort("mls-client-mismatch")`, should be returned.
/// The resulting `MessageRejected` error returned by core crypto should be caught and discarded before the operation is retried.
Abort { reason: String },
}

Expand Down

0 comments on commit edd7a6a

Please sign in to comment.