Set json types in more obvious fashion

This commit is contained in:
eleksir
2022-04-10 00:35:38 +03:00
parent 22cb7c9372
commit 305550f6cf
3 changed files with 28 additions and 26 deletions

View File

@@ -38,7 +38,7 @@ sub redis_parse_message {
}
$message->{chat_id} = 0 + $m->{chatid};
$message->{text} = $m->{message};
$message->{text} = "$m->{message}";
my $can_talk = Teapot::Bot::Object::ChatPermissions->canTalk ($main::TGM, 0 + $m->{chatid});