<?php declare(strict_types=1);
/**
 * @package messenger
 * @author kputyr
 * @date 21.04.2026
 * 
 * This script runs when a client disconnects
 */

use IMATHUZH\Messenger\Nchan\NchanRequest;

require_once 'common.php';

// Notify the channel controller that a client has disconnected
NchanRequest::fromServerRequest()
    ->generateUrls()
    ->notifyController('unsub');
