Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas committed Sep 1, 2023
1 parent 1f41c54 commit 7bcfca7
Showing 1 changed file with 5 additions and 3 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 {
} else {*/
defaultContent
}
//}

views.composerEditText.setText(content)

Expand Down

0 comments on commit 7bcfca7

Please sign in to comment.