MDL-78689 communication_matrix: Add support for sync provider feature

This commit is contained in:
Safat 2023-12-19 11:01:51 +11:00
parent a946b09410
commit e7586331a2

View File

@ -48,6 +48,7 @@ class communication_feature implements
\core_communication\form_provider,
\core_communication\room_chat_provider,
\core_communication\room_user_provider,
\core_communication\synchronise_provider,
\core_communication\user_provider {
/** @var ?matrix_room $room The matrix room object to update room information */
private ?matrix_room $room = null;
@ -773,4 +774,8 @@ class communication_feature implements
}
return false;
}
public function synchronise_room_members(): void {
$this->set_matrix_power_levels();
}
}