diff --git a/src/bp-core/classes/class-bp-attachment-avatar.php b/src/bp-core/classes/class-bp-attachment-avatar.php
index 2887f33e2..83469dba4 100644
--- a/src/bp-core/classes/class-bp-attachment-avatar.php
+++ b/src/bp-core/classes/class-bp-attachment-avatar.php
@@ -257,7 +257,7 @@ class BP_Attachment_Avatar extends BP_Attachment {
 		 * Check that the new avatar doesn't have the same name as the
 		 * old one before moving the previous one into history.
 		 */
-		if ( ! empty( $existing_avatar ) && $existing_avatar !== $this->url . $relative_path ) {
+		if ( apply_filters( 'bp_enable_avatar_revision', true, $args['object'], $args['item_id'] ) && ! empty( $existing_avatar ) && $existing_avatar !== $this->url . $relative_path ) {
 			// Add a new revision for the existing avatar.
 			$avatars = bp_attachments_list_directory_files( $avatar_folder_dir );
 
