}
self::$min_id = $_GET['min_id'] ?? null;
- self::$max_id = $_GET['max_id'] ?? null;
- self::$max_id = $_GET['last_commented'] ?? self::$max_id;
+ self::$max_id = $_GET['last_commented'] ?? $_GET['max_id'] ?? null;
}
/**
$this->writable = Security::canWriteToUserWall($this->profile_owner) || $writable;
break;
case Conversation::MODE_CHANNEL:
- $this->profile_owner = 0;
- $this->writable = $writable;
- break;
case Conversation::MODE_COMMUNITY:
$this->profile_owner = 0;
$this->writable = $writable;