Support 1.6 - 1.6.3
This commit is contained in:
@@ -50,6 +50,11 @@ foreach ($rows as $row) {
|
||||
];
|
||||
}
|
||||
|
||||
echo encrypt(json_encode(["messages" => array_reverse($mapped), "customIcons" => $icons]));
|
||||
|
||||
if (getClientVersion() == "1.6") {
|
||||
echo encrypt(json_encode($mapped));
|
||||
} else {
|
||||
echo encrypt(json_encode(["messages" => array_reverse($mapped), "customIcons" => $icons]));
|
||||
}
|
||||
|
||||
$conn->close();
|
||||
Reference in New Issue
Block a user