Include @monich's suggestions in #42

This commit is contained in:
Sebastian J. Wolf 2020-10-04 13:36:30 +02:00
parent b712e647ac
commit 3973cdf976
2 changed files with 5 additions and 6 deletions

View file

@ -36,6 +36,8 @@ You get the Telegram API ID and hash as soon as you've registered your own appli
Moreover, you need to have a compiled version of [TDLib](https://github.com/tdlib/td) in the sub-directory `tdlib`. This sub-directory must contain another sub-directory that fits to the target device architecture (e.g. armv7hl, i486). Within this directory, there needs to be a folder called `lib` that contains at least `libtdjson.so`. For armv7hl the relative path would consequently be `tdlib/armv7hl/lib`.
If you want to contribute bug fixes, improvements, new features etc. please create a pull request (PR). PRs are always welcome and will be reviewed as soon as possible, but may take some time. :)
## Credits
This project uses
- The Telegram Database Library (TDLib) - available on [GitHub.com](https://github.com/tdlib/td). Thanks for making it available under the conditions of the Boost Software License 1.0! Details about the license of TDLib in [its license file](https://github.com/tdlib/td/blob/master/LICENSE_1_0.txt).

View file

@ -137,20 +137,17 @@ Page {
}
onChatLastMessageUpdated: {
if (!overviewPage.chatListCreated) {
chatListCreatedTimer.stop();
chatListCreatedTimer.start();
chatListCreatedTimer.restart();
}
}
onChatOrderUpdated: {
if (!overviewPage.chatListCreated) {
chatListCreatedTimer.stop();
chatListCreatedTimer.start();
chatListCreatedTimer.restart();
}
}
onChatsReceived: {
if(chats && chats.chat_ids && chats.chat_ids.length === 0) {
chatListCreatedTimer.stop();
chatListCreatedTimer.start();
chatListCreatedTimer.restart();
}
}
}