aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-02-15 20:51:15 +0100
committerChristian Schneppe <christian@pix-art.de>2017-02-15 20:51:15 +0100
commit1d536541b7c71dc397c650c439c8128062c22f27 (patch)
tree6d3d86fd46eb23c05351264312a21a98b48adc3a /src/main/java/de
parent4bb8b5a38dfda4041664c209135eae088a17a5ce (diff)
don't delete chats after restart / reconnect
fixes #102
Diffstat (limited to 'src/main/java/de')
-rw-r--r--src/main/java/de/pixart/messenger/services/XmppConnectionService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
index bae703b59..e65c0bb64 100644
--- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
+++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java
@@ -1797,6 +1797,7 @@ public class XmppConnectionService extends Service {
conversation = new Conversation(conversationName, account, jid.toBareJid(),
Conversation.MODE_SINGLE);
}
+ this.databaseBackend.createConversation(conversation);
loadMessagesFromDb = false;
}
final Conversation c = conversation;