mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-06 10:05:58 +08:00
Limit the number of group members for kick/create/invite
This commit is contained in:
@@ -35,8 +35,6 @@ func InsertIntoGroupMember(toInsertInfo db.GroupMember) error {
|
||||
}
|
||||
|
||||
func BatchInsertIntoGroupMember(toInsertInfoList []*db.GroupMember) error {
|
||||
//MessageList []*model_struct.LocalChatLog
|
||||
//return utils.Wrap(d.conn.Create(MessageList).Error, "BatchInsertMessageList failed")
|
||||
for _, toInsertInfo := range toInsertInfoList {
|
||||
toInsertInfo.JoinTime = time.Now()
|
||||
if toInsertInfo.RoleLevel == 0 {
|
||||
|
||||
Reference in New Issue
Block a user