mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 13:33:52 +02:00
MDL-77357 communication_matrix: Test fix for course banner notification
This commit is contained in:
parent
5fc1dedeae
commit
17e4523382
@ -323,7 +323,7 @@ class communication_feature implements
|
||||
|
||||
public function get_chat_room_url(): ?string {
|
||||
// Check for room record in Moodle and that it exists in Matrix.
|
||||
if (!$this->matrixrooms->room_record_exists()) {
|
||||
if (!$this->matrixrooms->room_record_exists() || !$this->matrixrooms->get_matrix_room_id()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user