Skip to content

Commit 8baeba3

Browse files
committed
fix mentions in replies don't work #4425
1 parent f576437 commit 8baeba3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewModel.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,14 +625,14 @@ class MessageComposerViewModel @AssistedInject constructor(
625625
state.rootThreadEventId?.let {
626626
room.relationService().replyInThread(
627627
rootThreadEventId = it,
628-
replyInThreadText = action.text.toString(),
628+
replyInThreadText = action.text,
629629
autoMarkdown = action.autoMarkdown,
630630
formattedText = action.formattedText,
631631
eventReplied = timelineEvent
632632
)
633633
} ?: room.relationService().replyToMessage(
634634
eventReplied = timelineEvent,
635-
replyText = action.text.toString(),
635+
replyText = action.text,
636636
replyFormattedText = action.formattedText,
637637
autoMarkdown = action.autoMarkdown,
638638
showInThread = showInThread,

0 commit comments

Comments
 (0)