From 064926a18bc0155074f4b3a90e76122224691eea Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Wed, 8 Mar 2017 20:20:34 +0100 Subject: [PATCH] fixed regression that caused stanza-ids not to be saved --- .../java/eu/siacs/conversations/parser/MessageParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/parser/MessageParser.java b/src/main/java/eu/siacs/conversations/parser/MessageParser.java index f9a13d4d3..21f2c8fe7 100644 --- a/src/main/java/eu/siacs/conversations/parser/MessageParser.java +++ b/src/main/java/eu/siacs/conversations/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) { @@ -401,7 +401,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece final boolean conversationMultiMode = conversation.getMode() == Conversation.MODE_MULTI; if (serverMsgId == null) { - extractStanzaid(packet, isTypeGroupChat, conversation); + serverMsgId = extractStanzaId(packet, isTypeGroupChat, conversation); } if (isTypeGroupChat) {