See https://areait.runpolito.it/bugtracker/view.php?id=2
This commit is contained in:
CM
2021-04-21 23:50:38 +02:00
committed by GitHub
parent 11ad671fa8
commit 38c85d3b39

View File

@@ -74,7 +74,7 @@ class ShortenCommand extends UserCommand
if($reply != NULL)
{
$replytext1 = $reply->getText();
$result = json_decode($this->shorten($replytext1, $text, $user_id), true);
$result = json_decode($this->shorten($replytext1, strtolower($text), $user_id), true);
$replytext = $result['message']."\n\nShortened link: ".$result['shorturl']."\n\nQR Code: ".$result['shorturl'].".qr\n\nStats: ".$result['shorturl']."+";
}