diff options
author | Christian S. <kriztan@users.noreply.github.com> | 2015-08-24 11:19:30 +0200 |
---|---|---|
committer | Christian S. <kriztan@users.noreply.github.com> | 2015-08-24 11:19:30 +0200 |
commit | 06d29f13a9e60acdb6ab453ac82159050c96aa5f (patch) | |
tree | fd83ff8bda8839b1445230b34be28feb5cd6cfbb /src/main/java/eu/siacs/conversations/services/MessageArchiveService.java | |
parent | fed7a521ab60a456c6ac45d79e525f570c1130e9 (diff) | |
parent | deb9c20e5e7459c56f5207f3eaf9c189e383475a (diff) |
Merge pull request #27 from siacs/development
copy commits
Diffstat (limited to 'src/main/java/eu/siacs/conversations/services/MessageArchiveService.java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/MessageArchiveService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java b/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java index 0bc428c88..a31848a7c 100644 --- a/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java +++ b/src/main/java/eu/siacs/conversations/services/MessageArchiveService.java @@ -111,7 +111,7 @@ public class MessageArchiveService implements OnAdvancedStreamFeaturesLoaded { this.mXmppConnectionService.sendIqPacket(account, packet, new OnIqPacketReceived() { @Override public void onIqPacketReceived(Account account, IqPacket packet) { - if (packet.getType() == IqPacket.TYPE.ERROR) { + if (packet.getType() != IqPacket.TYPE.RESULT) { Log.d(Config.LOGTAG, account.getJid().toBareJid().toString() + ": error executing mam: " + packet.toString()); finalizeQuery(query); } |