System messages in chat groups

I don’t want system messages stored in chat groups related to user login, logout and expulsion.
How can I do this?

Hello @rhs3322,

You can simply ignore the messages in the client based on their code (see Real-time Chat - Heroic Labs Documentation).

If you really want to delete the messages from the db, you can add some after hooks that run some custom SQL to delete the messages with the codes you’d like to ignore.

Hope this helps.

So it is not possible to set Nakama so that it does not store these messages in the database at all?

Currently no this is not possible.