mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
group add
This commit is contained in:
parent
acca147ff2
commit
bc260fffde
@ -31,7 +31,7 @@ func InsertIntoGroupMember(toInsertInfo db.GroupMember) error {
|
||||
toInsertInfo.RoleLevel = constant.GroupOrdinaryUsers
|
||||
}
|
||||
if toInsertInfo.MuteEndTime.Unix() == 0 {
|
||||
toInsertInfo.MuteEndTime = time.Unix(1, 0)
|
||||
toInsertInfo.MuteEndTime = time.Unix(1, 1)
|
||||
}
|
||||
err = dbConn.Table("group_members").Create(toInsertInfo).Error
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user