aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-03-09 20:43:39 +0100
committerChristian Schneppe <christian@pix-art.de>2017-03-09 20:43:39 +0100
commit784f507b151dd0a806cf86ac8902b018d0bdb6e0 (patch)
tree5f944e5c75c10f7046127f32371bc4c287bf32e7 /src/main/java
parent9ce2843c281c3eadaee45a6dcee50bb5b6fdd429 (diff)
fixed regression that caused stanza-ids not to be saved
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/de/pixart/messenger/parser/MessageParser.java4
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())) {