diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-03-09 20:49:25 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-03-09 20:49:25 +0100 |
commit | 9bd33bc34d0700e6f30b1b0183be55444b7bccac (patch) | |
tree | ef0c9376a3231b72597c6e23ac0108918ef34013 /src/main | |
parent | 2893e4e96400cf31523a52414abd62e3262137cc (diff) |
notify for muc messages after mam catchup
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/MessageArchiveService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/services/MessageArchiveService.java b/src/main/java/de/pixart/messenger/services/MessageArchiveService.java index 5e240b18d..64f736c85 100644 --- a/src/main/java/de/pixart/messenger/services/MessageArchiveService.java +++ b/src/main/java/de/pixart/messenger/services/MessageArchiveService.java @@ -245,7 +245,7 @@ public class MessageArchiveService implements OnAdvancedStreamFeaturesLoaded { final boolean done = (complete || query.getActualMessageCount() == 0) && !query.isCatchup(); this.finalizeQuery(query, done); Log.d(Config.LOGTAG, query.getAccount().getJid().toBareJid() + ": finished mam after " + query.getTotalCount() + "(" + query.getActualMessageCount() + ") messages. messages left=" + Boolean.toString(!done)); - if (query.getWith() == null && query.getActualMessageCount() > 0) { + if (query.isCatchup() && query.getActualMessageCount() > 0) { mXmppConnectionService.getNotificationService().finishBacklog(true,query.getAccount()); } } else { |