mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Prevent trailing whitespace from being considered an edit.
This commit is contained in:
committed by
Michelle Tang
parent
e6ea66f9c5
commit
2f514622e0
@@ -1666,7 +1666,7 @@ class ConversationFragment :
|
||||
return
|
||||
}
|
||||
|
||||
if (editMessage.body == composeText.editableText.toString() &&
|
||||
if (editMessage.body == composeText.editableText.toString().trim() &&
|
||||
editMessage.getQuote()?.displayText?.toString() == inputPanel.quote.map { it.text }.orNull() &&
|
||||
editMessage.messageRanges == composeText.styling &&
|
||||
editMessage.hasLinkPreview() == inputPanel.hasLinkPreview()
|
||||
|
||||
Reference in New Issue
Block a user