1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Telegraph/TGSynchronizePreferencesActor.m
2014-07-10 18:11:09 +04:00

30 lines
515 B
Objective-C

#import "TGSynchronizePreferencesActor.h"
#import "ActionStage.h"
@implementation TGSynchronizePreferencesActor
+ (NSString *)genericPath
{
return @"/tg/service/synchronizePreferences";
}
- (void)execute:(NSDictionary *)__unused options
{
}
- (void)preferencesRequestSuccess:(TLhelp_AppPrefs *)__unused preferences
{
[ActionStageInstance() actionCompleted:self.path result:nil];
}
- (void)preferencesRequestFailed
{
[ActionStageInstance() actionFailed:self.path reason:-1];
}
@end