添加群组成员时支持部分成员失败

This commit is contained in:
heavyrian2012
2025-07-05 16:47:15 +08:00
parent 63f37e8984
commit 6ef6ed2906
10 changed files with 119 additions and 16 deletions
@@ -65,6 +65,8 @@ public enum ErrorCode {
ERROR_CODE_CONFERENCE_ERROR(90, "Conference server response error"),
ERROR_CODE_FUNCTION_DISABLED(220, "function disabled"),
ERROR_CODE_SERVER_BUSY(221, "Server busy"),
ERROR_CODE_PARTLY_SUCCESS(222, "Partly success"),
ERROR_CODE_OTHER_CLIENT_ALREADY_IN_CHATROOM(225, "other client already in chatroom"),
@@ -16,6 +16,7 @@ import com.google.protobuf.ByteString;
import io.netty.util.internal.StringUtil;
import java.util.List;
import java.util.Map;
public class GroupNotificationBinaryContent {
//groupId
@@ -33,6 +34,8 @@ public class GroupNotificationBinaryContent {
//value2(member or something)
private String m;
private Map<String, Integer> mi;
private String extra;
public GroupNotificationBinaryContent() {
@@ -92,6 +95,11 @@ public class GroupNotificationBinaryContent {
this.ms = ms;
}
public GroupNotificationBinaryContent setMi(Map<String, Integer> mi) {
this.mi = mi;
return this;
}
public GroupNotificationBinaryContent setExtra(String extra) {
this.extra = extra;
return this;
@@ -396,5 +396,7 @@ public class ProtoConstants {
public static final int MESSAGE_CONTENT_TYPE_MODIFY_GROUP_EXTRA = 122;
public static final int MESSAGE_CONTENT_TYPE_MODIFY_GROUP_MEMBER_EXTRA = 123;
public static final int MESSAGE_CONTENT_TYPE_MODIFY_GROUP_SETTINGS = 124;
public static final int MESSAGE_CONTENT_TYPE_REJECT_JOIN_GROUP = 125;
}