Skip to content

Commit

Permalink
sdk: remove Error::InconsistentState as it was unused
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjbvr committed Jun 27, 2024
1 parent d41af39 commit 2888286
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions crates/matrix-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Breaking changes:
- `AttachmentConfig::generate_thumbnail` takes a `ThumbnailFormat`.
- The `HttpError::UnableToCloneRequest` error variant has been removed because it was never used or
generated by the SDK.
- The `Error::InconsistentState` error variant has been removed because it was never used or
generated by the SDK.

Additions:

Expand Down
5 changes: 0 additions & 5 deletions crates/matrix-sdk/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,6 @@ pub enum Error {
#[error("wrong room state: {0}")]
WrongRoomState(WrongRoomState),

/// The client is in inconsistent state. This happens when we set a room to
/// a specific type, but then cannot get it in this type.
#[error("The internal client state is inconsistent.")]
InconsistentState,

/// Session callbacks have been set multiple times.
#[error("session callbacks have been set multiple times")]
MultipleSessionCallbacks,
Expand Down

0 comments on commit 2888286

Please sign in to comment.