diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-03-09 20:43:39 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-03-09 20:43:39 +0100 |
commit | 784f507b151dd0a806cf86ac8902b018d0bdb6e0 (patch) | |
tree | 5f944e5c75c10f7046127f32371bc4c287bf32e7 /src/main | |
parent | 9ce2843c281c3eadaee45a6dcee50bb5b6fdd429 (diff) |
fixed regression that caused stanza-ids not to be saved
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/de/pixart/messenger/parser/MessageParser.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/parser/MessageParser.java b/src/main/java/de/pixart/messenger/parser/MessageParser.java index a8cca22d7..b34c382e4 100644 --- a/src/main/java/de/pixart/messenger/parser/MessageParser.java +++ b/src/main/java/de/pixart/messenger/parser/MessageParser.java @@ -212,7 +212,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece return null; } - private static String extractStanzaid(Element packet, boolean isTypeGroupChat, Conversation conversation) { + private static String extractStanzaId(Element packet, boolean isTypeGroupChat, Conversation conversation) { final Jid by; final boolean safeToExtract; if (isTypeGroupChat) { @@ -399,7 +399,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece Conversation conversation = mXmppConnectionService.findOrCreateConversation(account, counterpart.toBareJid(), isTypeGroupChat, false, query); final boolean conversationMultiMode = conversation.getMode() == Conversation.MODE_MULTI; if (serverMsgId == null) { - extractStanzaid(packet, isTypeGroupChat, conversation); + serverMsgId = extractStanzaId(packet, isTypeGroupChat, conversation); } if (isTypeGroupChat) { if (counterpart.getResourcepart().equals(conversation.getMucOptions().getActualNick())) { |