Remove unused code

This commit is contained in:
Benoit Marty 2022-04-14 16:47:34 +02:00
parent 7b7c509796
commit b1cff1a5e8
1 changed files with 0 additions and 2 deletions

View File

@ -16,7 +16,6 @@
package im.vector.app.features.home.room.detail.composer package im.vector.app.features.home.room.detail.composer
import androidx.annotation.StringRes
import im.vector.app.core.platform.VectorViewEvents import im.vector.app.core.platform.VectorViewEvents
import im.vector.app.features.command.Command import im.vector.app.features.command.Command
import im.vector.app.features.command.ParsedCommand import im.vector.app.features.command.ParsedCommand
@ -34,7 +33,6 @@ sealed class MessageComposerViewEvents : VectorViewEvents {
data class SlashCommandError(val command: Command) : SendMessageResult() data class SlashCommandError(val command: Command) : SendMessageResult()
data class SlashCommandUnknown(val command: String) : SendMessageResult() data class SlashCommandUnknown(val command: String) : SendMessageResult()
data class SlashCommandNotSupportedInThreads(val command: Command) : SendMessageResult() data class SlashCommandNotSupportedInThreads(val command: Command) : SendMessageResult()
data class SlashCommandHandled(@StringRes val messageRes: Int? = null) : SendMessageResult()
object SlashCommandLoading : SendMessageResult() object SlashCommandLoading : SendMessageResult()
data class SlashCommandResultOk(val parsedCommand: ParsedCommand) : SendMessageResult() data class SlashCommandResultOk(val parsedCommand: ParsedCommand) : SendMessageResult()
data class SlashCommandResultError(val throwable: Throwable) : SendMessageResult() data class SlashCommandResultError(val throwable: Throwable) : SendMessageResult()