Skip to content

Commit ad52941

Browse files
committed
add some event
1 parent 819ea82 commit ad52941

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

ios/RCTJMessageModule/JMessageHelper.m

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,13 +643,21 @@ - (NSMutableDictionary *)messageToDictionary {
643643
break;
644644
}
645645
case kJMSGEventNotificationUpdateGroupInfo: {
646-
dict[@"eventType"] = @"updateGroupInfo";
646+
dict[@"eventType"] = @"group_info_updated";
647647
break;
648648
}
649649
case kJMSGEventNotificationUserLoginStatusUnexpected: {
650650
dict[@"eventType"] = @"userLoginStatusUnexpected";
651651
break;
652652
}
653+
case kJMSGEventNotificationGroupTypeChange: {
654+
dict[@"eventType"] = @"group_type_changed";
655+
break;
656+
}
657+
case kJMSGEventNotificationDissolveGroup: {
658+
dict[@"eventType"] = @"group_dissolved";
659+
break;
660+
}
653661
default:
654662
break;
655663
}

0 commit comments

Comments
 (0)