mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-12 13:17:42 +02:00
feat(core): strip media metadata
This commit is contained in:
@ -393,6 +393,10 @@
|
||||
"name": "Gallery Media Send Override",
|
||||
"description": "Spoofs the media source when sending from the Gallery"
|
||||
},
|
||||
"strip_media_metadata": {
|
||||
"name": "Strip Media Metadata",
|
||||
"description": "Removes metadata of media before sending as a message"
|
||||
},
|
||||
"bypass_message_retention_policy": {
|
||||
"name": "Bypass Message Retention Policy",
|
||||
"description": "Prevents messages from being deleted after viewing them"
|
||||
@ -716,6 +720,13 @@
|
||||
"SNAP": "Snap",
|
||||
"SAVABLE_SNAP": "Savable Snap"
|
||||
},
|
||||
"strip_media_metadata": {
|
||||
"hide_caption_text": "Hide Caption Text",
|
||||
"hide_snap_filters": "Hide Snap Filters",
|
||||
"hide_extras": "Hide Extras (e.g. mentions)",
|
||||
"remove_audio_note_duration": "Remove Audio Note Duration",
|
||||
"remove_audio_note_transcript_capability": "Remove Audio Note Transcript Capability"
|
||||
},
|
||||
"hide_ui_components": {
|
||||
"hide_profile_call_buttons": "Remove Profile Call Buttons",
|
||||
"hide_chat_call_buttons": "Remove Chat Call Buttons",
|
||||
|
@ -34,5 +34,6 @@ class MessagingTweaks : ConfigContainer() {
|
||||
}
|
||||
val messageLogger = boolean("message_logger") { addNotices(FeatureNotice.UNSTABLE); requireRestart() }
|
||||
val galleryMediaSendOverride = boolean("gallery_media_send_override") { nativeHooks() }
|
||||
val stripMediaMetadata = multiple("strip_media_metadata", "hide_caption_text", "hide_snap_filters", "hide_extras", "remove_audio_note_duration", "remove_audio_note_transcript_capability") { requireRestart() }
|
||||
val bypassMessageRetentionPolicy = boolean("bypass_message_retention_policy") { addNotices(FeatureNotice.UNSTABLE); requireRestart() }
|
||||
}
|
Reference in New Issue
Block a user