diff options
| author | Daniel Weipert <git@mail.dweipert.de> | 2026-03-05 14:57:28 +0100 |
|---|---|---|
| committer | Daniel Weipert <git@mail.dweipert.de> | 2026-03-05 14:57:28 +0100 |
| commit | bd11271621bd3759cfd194ed0119c0dc28155fd0 (patch) | |
| tree | 319b4790d4e2b05513abf023732ed6fb0717f603 /src/Events/RoomNameEvent.php | |
| parent | 2386148b8f048ba40d9f26cc97898bdcdc778ea2 (diff) | |
Diffstat (limited to 'src/Events/RoomNameEvent.php')
| -rw-r--r-- | src/Events/RoomNameEvent.php | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/Events/RoomNameEvent.php b/src/Events/RoomNameEvent.php deleted file mode 100644 index 279e6c1..0000000 --- a/src/Events/RoomNameEvent.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php - -namespace App\Events; - -use App\Types\EventType; - -class RoomNameEvent extends Event -{ - public function __construct( - private string $sender, - private string $stateKey, - private string $name, - ) - { - parent::__construct(EventType::ROOM_NAME); - } - - public function fromJson(string $json): self - { - } - - public function toJsonEncodeable(): array - { - return [ - "type" => $this->type, - "sender" => $this->sender, - "state_key" => $this->stateKey, - "content" => [ - "name" => $this->name, - ], - ]; - } -} |
