mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
fixed regression with mlinks stream managment. fixes #1206
This commit is contained in:
parent
fb0b4bb445
commit
865e08401b
@ -954,7 +954,7 @@ public class XmppConnection implements Runnable {
|
|||||||
AbstractAcknowledgeableStanza stanza = (AbstractAcknowledgeableStanza) packet;
|
AbstractAcknowledgeableStanza stanza = (AbstractAcknowledgeableStanza) packet;
|
||||||
++stanzasSent;
|
++stanzasSent;
|
||||||
this.mStanzaQueue.put(stanzasSent, stanza);
|
this.mStanzaQueue.put(stanzasSent, stanza);
|
||||||
if (stanza instanceof MessagePacket && stanza.getId() != null && this.streamId != null) {
|
if (stanza instanceof MessagePacket && stanza.getId() != null && getFeatures().sm()) {
|
||||||
if (Config.EXTENDED_SM_LOGGING) {
|
if (Config.EXTENDED_SM_LOGGING) {
|
||||||
Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": requesting ack for message stanza #" + stanzasSent);
|
Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": requesting ack for message stanza #" + stanzasSent);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user