ignorePushMessageWhenUserOnline

There is different behaviour for receiving push messages when ths user is online (when there is an active WebSocket connection) depending on the type of the message.

Supported types:

The default behaviour is:

This function allows you to customize the behavior for different notification types.