mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-28 22:08:12 +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:
@@ -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]) {
|
||||
|
||||
Reference in New Issue
Block a user