mirror of
https://github.com/faroukbmiled/RyukGram.git
synced 2026-06-12 18:07:47 +02:00
ceb89e65d2
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
19 lines
589 B
Objective-C
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
|