mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-30 15:10:56 +00:00
Save feedback data into NSApplicationSupportDirectory instead of NSCachesDirectory
We don't want that data to be purged by the system, since there is user entered data in it like name and email, also thread token etc.
This commit is contained in:
parent
1f902b4389
commit
356e9fb4da
@ -83,7 +83,6 @@
|
||||
_fileManager = [[NSFileManager alloc] init];
|
||||
|
||||
// temporary directory for crashes grabbed from PLCrashReporter
|
||||
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);
|
||||
_feedbackDir = [[[paths objectAtIndex:0] stringByAppendingPathComponent:BITHOCKEY_IDENTIFIER] retain];
|
||||
|
||||
if (![_fileManager fileExistsAtPath:_feedbackDir]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user