Implement blacklist handling by adding ListBlacklist and BlacklistEntity request methods in Method.php

This commit is contained in:
netkas 2025-06-06 18:02:43 -04:00
parent ae672d7d38
commit b895f51228
Signed by: netkas
GPG key ID: 4D8629441B76E4CC

View file

@ -8,6 +8,8 @@
use FederationServer\Methods\Attachments\UploadAttachment;
use FederationServer\Methods\Audit\ListAuditLogs;
use FederationServer\Methods\Audit\ViewAuditEntry;
use FederationServer\Methods\Blacklist\BlacklistEntity;
use FederationServer\Methods\Blacklist\ListBlacklist;
use FederationServer\Methods\Entities\DeleteEntity;
use FederationServer\Methods\Entities\GetEntityRecord;
use FederationServer\Methods\Entities\ListEntities;
@ -189,10 +191,10 @@
break;
case self::LIST_BLACKLIST:
throw new \Exception('To be implemented');
ListBlacklist::handleRequest();
break;
case self::BLACKLIST_ENTITY:
throw new \Exception('To be implemented');
BlacklistEntity::handleRequest();
break;
case self::DELETE_BLACKLIST:
throw new \Exception('To be implemented');