diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewModel.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewModel.kt index d52cf0cbd37..0abf37a08f2 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewModel.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewModel.kt @@ -625,14 +625,14 @@ class MessageComposerViewModel @AssistedInject constructor( state.rootThreadEventId?.let { room.relationService().replyInThread( rootThreadEventId = it, - replyInThreadText = action.text.toString(), + replyInThreadText = action.text, autoMarkdown = action.autoMarkdown, formattedText = action.formattedText, eventReplied = timelineEvent ) } ?: room.relationService().replyToMessage( eventReplied = timelineEvent, - replyText = action.text.toString(), + replyText = action.text, replyFormattedText = action.formattedText, autoMarkdown = action.autoMarkdown, showInThread = showInThread,