feat: Per-user story seen-receipt exclusions

feat: Story seen button mode (button / toggle)
feat: Long-press menu on the story seen button (mark seen, exclude, settings)
feat: Auto mark-seen on exclude for both stories and DM chats
imp: Cleaner exclusion menu wording across stories and DMs
imp: Tweak settings now update in real time for exclude ui
imp: Ability to batch select in both stories and messages exclude UI
This commit is contained in:
faroukbmiled
2026-04-09 18:46:21 +01:00
parent d03da10941
commit ceb89e65d2
17 changed files with 923 additions and 100 deletions
+7 -2
View File
@@ -61,7 +61,10 @@ BOOL dmVisualMsgsViewedButtonEnabled = false;
@"warn_refresh_clears_preserved": @(NO),
@"enable_chat_exclusions": @(YES),
@"exclusions_default_keep_deleted": @(NO),
@"unexclude_inbox_button": @(YES)
@"unexclude_inbox_button": @(YES),
@"enable_story_user_exclusions": @(YES),
@"story_excluded_show_unexclude_eye": @(YES),
@"story_seen_mode": @"button"
};
[[NSUserDefaults standardUserDefaults] registerDefaults:sciDefaults];
@@ -611,7 +614,9 @@ shouldPersistLastBugReportId:(id)arg6
}
return %orig([filteredObjs copy], edr, headerLabelText);
extern NSArray *sciMaybeAppendStoryExcludeMenuItem(NSArray *);
NSArray *finalObjs = sciMaybeAppendStoryExcludeMenuItem([filteredObjs copy]);
return %orig(finalObjs, edr, headerLabelText);
}
%end