Files
RyukGram/src/Features/StoriesAndMessages/SCIExcludedStoryUsers.h
T
faroukbmiled ceb89e65d2 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
2026-04-09 18:46:21 +01:00

19 lines
589 B
Objective-C

// Persistent per-user exclusion list for story read-receipts. Lookup is by
// user pk (string). Excluded users get normal seen behavior — your view
// shows up in their viewer list as if RyukGram weren't installed.
#import <Foundation/Foundation.h>
@interface SCIExcludedStoryUsers : NSObject
+ (BOOL)isFeatureEnabled;
+ (BOOL)isUserPKExcluded:(NSString *)pk;
+ (NSDictionary *)entryForPK:(NSString *)pk;
+ (NSArray<NSDictionary *> *)allEntries;
+ (NSUInteger)count;
+ (void)addOrUpdateEntry:(NSDictionary *)entry; // {pk, username, fullName}
+ (void)removePK:(NSString *)pk;
@end