Don't send edits if the message text wasn't changed.

This commit is contained in:
Jeffrey Starke
2025-02-26 15:49:07 -05:00
committed by Greyson Parrelli
parent 0c146ef35c
commit ff09d2267b

View File

@@ -1594,6 +1594,12 @@ class ConversationFragment :
return return
} }
if (editMessage.body == composeText.editableText.toString()) {
Log.d(TAG, "Updated message matches original, exiting edit mode")
inputPanel.exitEditMessageMode()
return
}
sendMessage() sendMessage()
} }