mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-07 10:35:59 +08:00
remove super group add kicked user notification
This commit is contained in:
@@ -19,7 +19,6 @@ import (
|
||||
pbRtc "Open_IM/pkg/proto/rtc"
|
||||
"Open_IM/pkg/utils"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"strings"
|
||||
|
||||
promePkg "Open_IM/pkg/common/prometheus"
|
||||
@@ -180,16 +179,6 @@ func MsgToSuperGroupUser(pushMsg *pbPush.PushMsgReq) {
|
||||
}
|
||||
pushToUserIDList = userIDList
|
||||
}
|
||||
if pushMsg.MsgData.ContentType == constant.SuperGroupUpdateNotification {
|
||||
m := make(map[string]bool)
|
||||
_ = json.Unmarshal(pushMsg.MsgData.Content, &m)
|
||||
if value, ok := m["kicked"]; ok {
|
||||
if value {
|
||||
pushToUserIDList = append(pushToUserIDList, pushMsg.MsgData.SendID)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
grpcCons := getcdv3.GetDefaultGatewayConn4Unique(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), pushMsg.OperationID)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user