Finish chatroom backporting for 1.5.1

This commit is contained in:
2025-09-12 08:41:27 -07:00
parent 1c99ab2912
commit 4516cd4fae
4 changed files with 45 additions and 8 deletions

View File

@@ -1,6 +1,12 @@
<?php
require __DIR__ . '/../incl/util.php';
setPlainHeader();
if (isAllowedDatabaseVersion(getClientVersion())) {
if (getClientVersion() == "1.5.1" || getClientVersion() == "1.5.2") {
require __DIR__ . '/backported/1.5.1/sendChatroomMessage.php';
exit;
}
}
checkClientDatabaseVersion();
$post = getPostData();