群组信息变更回调中加上群组信息

This commit is contained in:
heavyrian2012
2024-01-14 09:51:46 +08:00
parent c014b78d95
commit cb5754fe07
3 changed files with 30 additions and 7 deletions
@@ -57,6 +57,9 @@ public class GetGroupInfoAction extends AdminAction {
pojoGroupInfo.setJoin_type(groupInfo.getJoinType());
pojoGroupInfo.setPrivate_chat(groupInfo.getPrivateChat());
pojoGroupInfo.setSearchable(groupInfo.getSearchable());
pojoGroupInfo.setMax_member_count(groupInfo.getMemberCount());
pojoGroupInfo.setHistory_message(groupInfo.getHistoryMessage());
pojoGroupInfo.setSuper_group(groupInfo.getSuperGroup()>0);
result = RestResult.ok(pojoGroupInfo);
}
setResponseContent(result, response);