mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 02:17:51 +01:00
30 lines
515 B
Mathematica
30 lines
515 B
Mathematica
|
#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
|