Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Luka5W committed Sep 1, 2023
1 parent 1f41c54 commit 0f6e0c4
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,13 @@ class PlainTextComposerLayout @JvmOverloads constructor(

avatarRenderer.render(event.senderInfo.toMatrixItem(), views.composerRelatedMessageAvatar)

val content = if (specialMode is MessageComposerMode.Edit) {
// hotfix of https://github.com/vector-im/element-android/issues/8602
// the markdown (inclusively formatting marks as plain text) is applied now instead of the formatted markdown
val content = /*if (specialMode is MessageComposerMode.Edit) {
formattedBody ?: defaultContent
} else {
defaultContent
}
} else {*/
defaultContent
//}

views.composerEditText.setText(content)

Expand Down

0 comments on commit 0f6e0c4

Please sign in to comment.