Moodle has a communication subsystem and includes the Matrix plugin as part of that subsystem for use. It also has the option to use an existing room as a link, and the current matrix plugin in Moodle core automatically creates a room for the configured course.
This information should be added to the README of this plugin so that anyone who wants to use Matrix can consider using communication_matrix instead of this plugin if it suits.