Make inline bot name check case insensitive

This commit is contained in:
John Gibbon 2021-01-15 21:37:55 +01:00
parent 954986edee
commit c9ab840b97

View file

@ -40,7 +40,7 @@ Loader {
property string chatId
property string userName
property bool userNameIsValid: userName !== "" && inlineBotInformation && userName === inlineBotInformation.username
property bool userNameIsValid: userName !== "" && inlineBotInformation && userName.toLowerCase() === inlineBotInformation.username.toLowerCase()
property string query
property int currentOffset: 0
property string responseExtra: chatId+"|"+userName+"|"+query+"|"+currentOffset