|
|
|
@ -84,7 +84,7 @@ func (rpc *rpcAuth) forceKickOff(userID string, platformID int32, operationID st
|
|
|
|
|
etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImOnlineMessageRelayName)
|
|
|
|
|
client := pbRelay.NewOnlineMessageRelayServiceClient(etcdConn)
|
|
|
|
|
|
|
|
|
|
kickReq := &pbRelay.KickUserOfflineReq{OperationID: operationID, KickUserIDList: []string{userID}}
|
|
|
|
|
kickReq := &pbRelay.KickUserOfflineReq{OperationID: operationID, KickUserIDList: []string{userID}, PlatformID: platformID}
|
|
|
|
|
_, err := client.KickUserOffline(context.Background(), kickReq)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return utils.Wrap(err, "")
|
|
|
|
|