Prevent editing on stickers.

This commit is contained in:
Michelle Tang
2024-06-05 15:07:56 -07:00
committed by Alex Hart
parent 05d25718da
commit 5c181e774f

View File

@@ -66,7 +66,8 @@ object MessageConstraintsUtil {
targetMessage.revisionNumber < MAX_EDIT_COUNT &&
!targetMessage.isViewOnceMessage() &&
!targetMessage.hasAudio() &&
!targetMessage.hasSharedContact()
!targetMessage.hasSharedContact() &&
!targetMessage.hasSticker()
}
/**