mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 20:18:36 +00:00
Don't send edits if the message text wasn't changed.
This commit is contained in:
committed by
Greyson Parrelli
parent
0c146ef35c
commit
ff09d2267b
@@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user