From 2fc058c2f1ef9e1a97a0de3bb6a57f1cb98f4059 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 27 Jan 2024 13:54:29 +0200 Subject: [PATCH] fix pending namespace --- src/controller/room.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controller/room.php b/src/controller/room.php index 16139fa..4623c9f 100644 --- a/src/controller/room.php +++ b/src/controller/room.php @@ -169,7 +169,7 @@ class Room $posts = []; // Get pending posts - foreach ($this->_pending() as $pending) + foreach ($this->_pending($namespace) as $pending) { if ($post = $this->_post($namespace, $pending['key'], $records, null, $time)) { @@ -896,7 +896,7 @@ class Room return null; } - private function _pending(): array + private function _pending(string $namespace): array { $result = [];