Fix reload after single message, changelog for 0.5.1
This commit is contained in:
parent
8f9c46a05d
commit
56f5a675ac
4 changed files with 15 additions and 3 deletions
|
@ -12,6 +12,18 @@
|
|||
# * date Author's Name <author's email> version-release
|
||||
# - Summary of changes
|
||||
|
||||
* Fri Dec 4 2020 Sebastian J. Wolf <sebastian@ygriega.de> 0.5.1
|
||||
- Add verification badge to verified chats - thanks to monich
|
||||
- Improve preview of wide images - thanks to monich
|
||||
- Fix: Editing functionality (was broken with newlines and didn't update correctly)
|
||||
- Fix: Show single message in a chat if on receiving side
|
||||
- Allow any screen orientation for picker dialogs - thanks to monich
|
||||
- Fix: Long tap on image preview items - thanks to monich and jgibbon
|
||||
- Press effect for image preview items - thanks to monich
|
||||
- Fix: Chat Page flickable misplaced under some circumstances
|
||||
- Fix: Short text for 'myself' short messages of channels in chat list
|
||||
- Several translations updated - thanks to all contributors
|
||||
|
||||
* Mon Nov 30 2020 Sebastian J. Wolf <sebastian@ygriega.de> 0.5
|
||||
- Support secret chats
|
||||
- Support Telegram contacts & synchronization with local contacts DB on request
|
||||
|
|
|
@ -12,7 +12,7 @@ Name: harbour-fernschreiber
|
|||
|
||||
Summary: Fernschreiber is a Telegram client for Sailfish OS
|
||||
Version: 0.5.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Group: Qt/Qt
|
||||
License: LICENSE
|
||||
URL: http://werkwolf.eu/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Name: harbour-fernschreiber
|
||||
Summary: Fernschreiber is a Telegram client for Sailfish OS
|
||||
Version: 0.5.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
# The contents of the Group field should be one of the groups listed here:
|
||||
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
|
||||
Group: Qt/Qt
|
||||
|
|
|
@ -223,7 +223,7 @@ void ChatModel::handleMessagesReceived(const QVariantList &messages, int totalCo
|
|||
if (!this->messagesToBeAdded.isEmpty() && (this->messagesToBeAdded.size() + this->messages.size()) < 10 && !this->inReload) {
|
||||
LOG("Only a few messages received in first call, loading more...");
|
||||
this->inReload = true;
|
||||
this->tdLibWrapper->getChatHistory(this->chatId, this->messagesToBeAdded.first().toMap().value(ID).toLongLong());
|
||||
this->tdLibWrapper->getChatHistory(this->chatId, this->messagesToBeAdded.first().toMap().value(ID).toLongLong(), 0);
|
||||
} else {
|
||||
LOG("Messages loaded, notifying chat UI...");
|
||||
this->inReload = false;
|
||||
|
|
Loading…
Reference in a new issue