Skip to content

Commit ab2d5cb

Browse files
committed
getUserInfo will not download thumb avatar
1 parent 381d67b commit ab2d5cb

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)