notify for muc messages after mam catchup

This commit is contained in:
Daniel Gultsch 2017-03-08 22:02:09 +01:00
parent 6b72e18982
commit 7747fc0ea1
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,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 {