[merge] Disable another new useless reply fallback calculation
Change-Id: Ia090dac36ce08e7ea8e8bc0fe67a3e316b988bb9
This commit is contained in:
parent
65a1a6e90f
commit
4065d21b7e
|
@ -161,7 +161,7 @@ fun TimelineEvent.getLastMessageContent(): MessageContent? {
|
||||||
|
|
||||||
fun TimelineEvent.getLastEditNewContent(): Content? {
|
fun TimelineEvent.getLastEditNewContent(): Content? {
|
||||||
val lastContent = annotations?.editSummary?.latestEdit?.getClearContent()?.toModel<MessageContent>()?.newContent
|
val lastContent = annotations?.editSummary?.latestEdit?.getClearContent()?.toModel<MessageContent>()?.newContent
|
||||||
return if (isReply()) {
|
return if (isReply() && false) { // SC: we have rich replies
|
||||||
val previousFormattedBody = root.getClearContent().toModel<MessageTextContent>()?.formattedBody
|
val previousFormattedBody = root.getClearContent().toModel<MessageTextContent>()?.formattedBody
|
||||||
if (previousFormattedBody?.isNotEmpty() == true) {
|
if (previousFormattedBody?.isNotEmpty() == true) {
|
||||||
val lastMessageContent = lastContent.toModel<MessageTextContent>()
|
val lastMessageContent = lastContent.toModel<MessageTextContent>()
|
||||||
|
|
Loading…
Reference in New Issue