Prevent int overflow for chat id by using string :(

This commit is contained in:
John Gibbon 2021-01-11 09:50:36 +01:00
parent 3473fb995c
commit fe6ba8ac0d

View file

@ -33,7 +33,7 @@ Loader {
property int buttonPadding: hasButton ? item.button.height + Theme.paddingSmall : 0
Behavior on buttonPadding { NumberAnimation { duration: 200} }
property int chatId
property string chatId
property string userName
property string query
property int currentOffset: 0
@ -87,6 +87,7 @@ Loader {
inlineQueryLoader.currentOffset = offset || 0
}
function request() {
if(userName.length === 0) {
return;
}