]> git.mxchange.org Git - friendica.git/commitdiff
Simplified call
authorMichael <heluecht@pirati.ca>
Sun, 3 Sep 2023 03:46:19 +0000 (03:46 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 3 Sep 2023 03:46:19 +0000 (03:46 +0000)
src/Module/Conversation/Channel.php

index c80ba7673b2202e6c6be2226bf600fd5708bec5e..ed4437cd32cf110284c2ea6766a5ecb9b22d2d1a 100644 (file)
@@ -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;
        }
 
        /**