Skip to content

Commit f47506c

Browse files
KenChoiKenChoi
authored andcommitted
Merge branch 'dev' of github.com:jpush/jmessage-react-plugin into dev
2 parents 87e4385 + ab2d5cb commit f47506c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ios/RCTJMessageModule/RCTJMessageModule.m

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,7 @@ - (void)didReceiveJMessageMessage:(NSNotification *)notification {
244244
if (!error) {
245245
NSArray *users = resultObject;
246246
JMSGUser *user = users[0];
247-
248-
[user thumbAvatarData:^(NSData *data, NSString *objectId, NSError *error) {
249-
successCallback(@[[user userToDictionary]]);
250-
}];
247+
successCallback(@[[user userToDictionary]]);
251248
} else {
252249
failCallback(@[[error errorToDictionary]]);
253250
}

0 commit comments

Comments
 (0)