Matter Physics - custom filter before collisionstart / collisionactive to prevent this events

Hi there,

i’m using the events “collisionactive” / “collisionstart” to check, what is happening in my scene and should i update some object values…
I’m using the “setCollisionCategory” and “setCollisionGroup” to group my players, objects and bullets.

But:
if a player fires a bullet, he can be hit by his own bullet and this stops the bullet from flying.

i need some filter option before the events fire like (psydo code):
if( bullet.player == collisionpartner.id ) return false;

Is there any option?
Thx a lot!