fix lint code quality

This commit is contained in:
Valere 2019-07-17 11:41:14 +02:00
parent c6fd625761
commit 87de7bd3e6

View File

@ -334,8 +334,7 @@ internal class LocalEchoEventFactory @Inject constructor(private val credentials
formattedText = content.formattedBody formattedText = content.formattedBody
} }
} }
val isReply = content.isReply() || val isReply = content.isReply() || originalContent.isReply()
originalContent.isReply()
return if (isReply) return if (isReply)
TextContent(content.body, formattedText).removeInReplyFallbacks() TextContent(content.body, formattedText).removeInReplyFallbacks()
else else