mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
748 B
C
26 lines
748 B
C
7 years ago
|
//
|
||
7 years ago
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
||
7 years ago
|
//
|
||
|
|
||
4 years ago
|
#import <SessionUtilitiesKit/TSYapDatabaseObject.h>
|
||
7 years ago
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
7 years ago
|
extern NSString *const kNSNotificationName_LocalProfileDidChange;
|
||
|
extern NSString *const kNSNotificationName_OtherUsersProfileDidChange;
|
||
|
extern NSString *const kNSNotificationKey_ProfileRecipientId;
|
||
|
|
||
7 years ago
|
@interface OWSUserProfile : TSYapDatabaseObject
|
||
|
|
||
7 years ago
|
+ (NSString *)profileAvatarFilepathWithFilename:(NSString *)filename;
|
||
|
+ (nullable NSError *)migrateToSharedData;
|
||
7 years ago
|
+ (NSString *)legacyProfileAvatarsDirPath;
|
||
|
+ (NSString *)sharedDataProfileAvatarsDirPath;
|
||
7 years ago
|
+ (NSString *)profileAvatarsDirPath;
|
||
|
+ (void)resetProfileStorage;
|
||
7 years ago
|
+ (NSSet<NSString *> *)allProfileAvatarFilePaths;
|
||
7 years ago
|
|
||
7 years ago
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|