fix alfred tmp group search

This commit is contained in:
ljh740 2017-09-25 15:23:02 +08:00 committed by Sunnyyoung
parent b1b947ed5c
commit 48ad0c787e
3 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@
GroupStorage *groupStorage = [serviceCenter getService:objc_getClass("GroupStorage")]; GroupStorage *groupStorage = [serviceCenter getService:objc_getClass("GroupStorage")];
NSMutableArray<WCContactData *> *array = [NSMutableArray array]; NSMutableArray<WCContactData *> *array = [NSMutableArray array];
[array addObjectsFromArray:[contactStorage GetAllFriendContacts]]; [array addObjectsFromArray:[contactStorage GetAllFriendContacts]];
[array addObjectsFromArray:[groupStorage GetAllGroups]]; [array addObjectsFromArray:[groupStorage GetGroupContactList:0x2 ContactType:0x0]];
array; array;
}); });
NSArray<WCContactData *> *results = ({ NSArray<WCContactData *> *results = ({

View File

@ -65,7 +65,7 @@
- (WCContactData *)GetGroupContact:(NSString *)session; - (WCContactData *)GetGroupContact:(NSString *)session;
- (NSArray<WCContactData *> *)GetAllGroups; - (NSArray<WCContactData *> *)GetAllGroups;
- (NSArray<WCContactData *> *)GetGroupContactList:(NSInteger) arg1 ContactType:(NSInteger) arg2;
@end @end
@interface MMServiceCenter : NSObject @interface MMServiceCenter : NSObject