aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/services
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-02-21 17:32:46 +0100
committerDaniel Gultsch <daniel@gultsch.de>2016-02-21 17:32:46 +0100
commitd2cfac222ef7c144047eb7518a32f7cf9b39144f (patch)
tree380c5525b279accaa9a1647ac7087be6bd88ac56 /src/main/java/eu/siacs/conversations/services
parentb00c561f8182e1bd8c65be931b0b52cc4298edbb (diff)
show load more messages when auto loading is disabled and messages are still left on server
Diffstat (limited to 'src/main/java/eu/siacs/conversations/services')
-rw-r--r--src/main/java/eu/siacs/conversations/services/MessageArchiveService.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java b/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java
index 165c7c2a..59a37fe5 100644
--- a/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java
+++ b/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java
@@ -189,6 +189,10 @@ public class MessageArchiveService implements OnAdvancedStreamFeaturesLoaded {
}
}
+ public boolean queryInProgress(Conversation conversation) {
+ return queryInProgress(conversation, null);
+ }
+
public void processFin(Element fin, Jid from) {
if (fin == null) {
return;