Message queuing : remove LocalEventSendState.Canceled
This commit is contained in:
parent
ed9420fbac
commit
9415e58bdf
2 changed files with 0 additions and 2 deletions
|
|
@ -91,7 +91,6 @@ fun TimelineItemReadReceiptView(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
LocalEventSendState.Canceled -> Unit
|
|
||||||
is LocalEventSendState.SendingFailed -> {
|
is LocalEventSendState.SendingFailed -> {
|
||||||
// Error? The timestamp is already displayed in red
|
// Error? The timestamp is already displayed in red
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@ import io.element.android.libraries.matrix.api.core.EventId
|
||||||
@Immutable
|
@Immutable
|
||||||
sealed interface LocalEventSendState {
|
sealed interface LocalEventSendState {
|
||||||
data object NotSentYet : LocalEventSendState
|
data object NotSentYet : LocalEventSendState
|
||||||
data object Canceled : LocalEventSendState
|
|
||||||
|
|
||||||
data class SendingFailed(
|
data class SendingFailed(
|
||||||
val error: String
|
val error: String
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue