mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-25 00:48:52 -05:00
notify for muc messages after mam catchup
This commit is contained in:
parent
6b72e18982
commit
7747fc0ea1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user