We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6f0d77 commit 16c43c6Copy full SHA for 16c43c6
ios/RCTJMessageModule/JMessageHelper.m
@@ -348,6 +348,13 @@ -(NSMutableDictionary*)groupToDictionary{
348
dict[@"isNoDisturb"] = @(self.isNoDisturb);
349
dict[@"isShieldMessage"] = @(self.isShieldMessage);
350
dict[@"displayName"] = self.displayName;
351
+
352
+ if([[NSFileManager defaultManager] fileExistsAtPath: [self thumbAvatarLocalPath] ?: @""]){
353
+ dict[@"avatarThumbPath"] = [self thumbAvatarLocalPath];
354
+ } else {
355
+ dict[@"avatarThumbPath"] = @"";
356
+ }
357
358
return dict;
359
}
360
@end
0 commit comments