Update libqmatrixclient && add a progress bar.

This commit is contained in:
Black Hat
2018-09-30 22:13:54 +08:00
parent 6ecef7608c
commit 56b820e1a8
4 changed files with 35 additions and 7 deletions

View File

@@ -17,6 +17,8 @@ SpectralRoom::SpectralRoom(Connection* connection, QString roomId,
&SpectralRoom::countChanged);
connect(this, &SpectralRoom::highlightCountChanged, this,
&SpectralRoom::countChanged);
connect(this, &Room::addedMessages, this,
[=] { setBusy(false); });
}
void SpectralRoom::chooseAndUploadFile() {
@@ -175,3 +177,8 @@ void SpectralRoom::saveViewport(int topIndex, int bottomIndex) {
setFirstDisplayedEvent(maxTimelineIndex() - topIndex);
setLastDisplayedEvent(maxTimelineIndex() - bottomIndex);
}
void SpectralRoom::getPreviousContent(int limit) {
setBusy(true);
Room::getPreviousContent(limit);
}