From b1cff1a5e850715fa6c7935c8d59a7e9161892bc Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 14 Apr 2022 16:47:34 +0200 Subject: [PATCH] Remove unused code --- .../home/room/detail/composer/MessageComposerViewEvents.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewEvents.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewEvents.kt index fd302005c6..e1f6923d21 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewEvents.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewEvents.kt @@ -16,7 +16,6 @@ package im.vector.app.features.home.room.detail.composer -import androidx.annotation.StringRes import im.vector.app.core.platform.VectorViewEvents import im.vector.app.features.command.Command import im.vector.app.features.command.ParsedCommand @@ -34,7 +33,6 @@ sealed class MessageComposerViewEvents : VectorViewEvents { data class SlashCommandError(val command: Command) : SendMessageResult() data class SlashCommandUnknown(val command: String) : SendMessageResult() data class SlashCommandNotSupportedInThreads(val command: Command) : SendMessageResult() - data class SlashCommandHandled(@StringRes val messageRes: Int? = null) : SendMessageResult() object SlashCommandLoading : SendMessageResult() data class SlashCommandResultOk(val parsedCommand: ParsedCommand) : SendMessageResult() data class SlashCommandResultError(val throwable: Throwable) : SendMessageResult()