Disable river when group is created and when a user joint a group

I everyone,

I don't want river to be created in the following cases:

  • When a group is created
  • When a user joint a group

How can I implement this ?

 

Best regard

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking