From 573050c6efc0514b60168874e1ac5eebd25e149d Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 3 Sep 2023 03:46:19 +0000 Subject: [PATCH] Simplified call --- src/Module/Conversation/Channel.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Module/Conversation/Channel.php b/src/Module/Conversation/Channel.php index c80ba7673..ed4437cd3 100644 --- a/src/Module/Conversation/Channel.php +++ b/src/Module/Conversation/Channel.php @@ -291,8 +291,7 @@ class Channel extends BaseModule } self::$min_id = $request['min_id'] ?? null; - self::$max_id = $request['max_id'] ?? null; - self::$max_id = $request['last_created'] ?? self::$max_id; + self::$max_id = $request['last_created'] ?? $request['max_id'] ?? null; } /**