mirror of
https://github.com/Kyren223/eko.git
synced 2026-07-13 07:30:26 +00:00
Network deletion now propagates to all active connections that are in
that network
This commit is contained in:
@@ -409,11 +409,11 @@ func DeleteNetwork(ctx context.Context, sess *session.Session, request *packet.D
|
||||
return &ErrInternalError
|
||||
}
|
||||
|
||||
return &packet.NetworksInfo{
|
||||
return NetworkPropagate(ctx, sess, network.ID, &packet.NetworksInfo{
|
||||
Networks: nil,
|
||||
RemovedNetworks: []snowflake.ID{request.Network},
|
||||
Set: false,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
func SetMember(ctx context.Context, sess *session.Session, request *packet.SetMember) packet.Payload {
|
||||
|
||||
Reference in New Issue
Block a user