Fix active calls browser console error (#7833)

Javascript error caused Active Calls preventing the calls from being removed from the list
This commit is contained in:
frytimo
2026-04-08 11:30:10 -03:00
committed by GitHub
parent ebf1599f5f
commit 1d9fd0a8a5
5 changed files with 106 additions and 61 deletions
@@ -238,6 +238,7 @@ class websocket_service extends service {
$class_name = $subscriber_service->service_class();
// Make sure we can call the 'create_filter_chain_for' method
if (is_a($class_name, 'websocket_service_interface', true)) {
$this->debug('Creating filter chain for subscriber ' . $subscriber->id . ' for service ' . $subscriber_service->service_name() . ' using class ' . $class_name);
try {
// Call the service class method to validate the subscriber
$filter = $class_name::create_filter_chain_for($subscriber);