Skip to content

Commit

Permalink
fix mentions in replies don't work #4425
Browse files Browse the repository at this point in the history
Signed-off-by: Mehdi.Bagvand <[email protected]>
  • Loading branch information
bagvand committed Jun 16, 2023
1 parent f576437 commit 8826eb3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8826eb3

Please sign in to comment.