Prevent int overflow for chat id by using string :(
This commit is contained in:
parent
3473fb995c
commit
fe6ba8ac0d
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue